File tree 4 files changed +15
-5
lines changed
4 files changed +15
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"homepage" : " https://evgeny-nadymov.github.io/telegram-react" ,
3
3
"name" : " telegram_react" ,
4
- "version" : " 0.0.989 " ,
4
+ "version" : " 0.0.990 " ,
5
5
"private" : true ,
6
6
"dependencies" : {
7
7
"tdweb" : " ^1.7.2" ,
Original file line number Diff line number Diff line change 17
17
position : absolute;
18
18
left : 0 ;
19
19
right : 0 ;
20
+ z-index : 1 ;
20
21
}
21
22
22
23
.call-panel-microphone-hint-wrapper {
Original file line number Diff line number Diff line change 7
7
8
8
# call-output-video {
9
9
width : 348px ;
10
- max-height : 320px ;
10
+ height : 348px ;
11
+ background : black;
11
12
}
12
13
13
14
.full-screen # call-output-video {
115
116
116
117
.group-call-panel-buttons {
117
118
flex-shrink : 0 ;
118
- padding : 58px 40px ;
119
+ padding : 30 px 40 px 58px 40px ;
119
120
display : flex;
120
121
flex-direction : row;
121
122
justify-content : space-between;
122
- height : 220 px ;
123
+ height : 192 px ;
123
124
min-width : 348px ;
124
125
box-sizing : border-box;
125
126
position : relative;
Original file line number Diff line number Diff line change @@ -1971,6 +1971,11 @@ class CallStore extends EventEmitter {
1971
1971
}
1972
1972
}
1973
1973
1974
+ // if (description.type === 'offer' && description.sdp.indexOf('a=setup:active')) {
1975
+ // description.sdp = description.sdp.replaceAll('a=setup:active', 'a=setup:actpass')
1976
+ // }
1977
+
1978
+ console . log ( '[sdp] remote' , description . type , description . sdp )
1974
1979
await connection . setRemoteDescription ( description ) ;
1975
1980
1976
1981
if ( currentCall . candidates ) {
@@ -1982,7 +1987,10 @@ class CallStore extends EventEmitter {
1982
1987
1983
1988
if ( ! isAnswer ) {
1984
1989
const answer = await connection . createAnswer ( ) ;
1985
- console . log ( '[sdp] local' , answer . sdp ) ;
1990
+ // if (description.sdp.indexOf('a=setup:active') && answer.sdp.indexOf('a=setup:active')) {
1991
+ // answer.sdp = answer.sdp.replaceAll('a=setup:active', 'a=setup:passive');
1992
+ // }
1993
+ console . log ( '[sdp] local' , answer . type , answer . sdp ) ;
1986
1994
await connection . setLocalDescription ( answer ) ;
1987
1995
1988
1996
// LOG_P2P_CALL('2 try invoke p2pAppendInputStream', inputStream, is_outgoing);
You can’t perform that action at this time.
0 commit comments