File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Expand file tree Collapse file tree 4 files changed +8
-4
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.992 " ,
4
+ "version" : " 0.0.995 " ,
5
5
"private" : true ,
6
6
"dependencies" : {
7
7
"@material-ui/core" : " ^4.9.7" ,
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ import LStore from '../../Stores/LocalizationStore';
32
32
import UserStore from '../../Stores/UserStore' ;
33
33
import './CallPanel.css' ;
34
34
35
- const SUPPORTS_ROTATION = true ;
35
+ const SUPPORTS_ROTATION = false ;
36
36
37
37
class CallPanel extends React . Component {
38
38
constructor ( props ) {
@@ -259,7 +259,7 @@ class CallPanel extends React.Component {
259
259
let screenSharing = currentCall && Boolean ( currentCall . screenStream ) ;
260
260
261
261
let outputVideoStyle = null ;
262
- if ( SUPPORTS_ROTATION && outputMediaState && isFirefox ( ) ) {
262
+ if ( SUPPORTS_ROTATION && outputMediaState && isFirefox ( ) && ! is_outgoing ) {
263
263
outputVideoStyle = {
264
264
transform : `rotate(${ outputMediaState . videoRotation } deg)`
265
265
} ;
Original file line number Diff line number Diff line change 14
14
.full-screen # call-output-video {
15
15
max-width : unset;
16
16
max-height : unset;
17
+ position : absolute;
18
+ left : 0 ;
19
+ top : 0 ;
17
20
width : 100% ;
18
21
height : 100% ;
19
22
}
98
101
.full-screen .call-panel-content {
99
102
margin : 0 ;
100
103
border-radius : 0 ;
104
+ position : relative;
101
105
}
102
106
103
107
.call-panel-content {
Original file line number Diff line number Diff line change @@ -1653,13 +1653,13 @@ class CallStore extends EventEmitter {
1653
1653
}
1654
1654
1655
1655
p2pSendCallSignalingData ( callId , str ) {
1656
- LOG_P2P_CALL ( '[tdlib] sendCallSignalingData' , callId , str ) ;
1657
1656
const { currentCall } = this ;
1658
1657
if ( currentCall ) {
1659
1658
const { encryptor } = currentCall ;
1660
1659
if ( encryptor ) {
1661
1660
const data = encryptor . encryptToBase64 ( str ) ;
1662
1661
1662
+ LOG_P2P_CALL ( '[tdlib] sendCallSignalingData' , callId , str ) ;
1663
1663
TdLibController . send ( {
1664
1664
'@type' : 'sendCallSignalingData' ,
1665
1665
call_id : callId ,
You can’t perform that action at this time.
0 commit comments