File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "homepage" : " https://evgeny-nadymov.github.io/telegram-react" ,
33 "name" : " telegram_react" ,
4- "version" : " 0.0.992 " ,
4+ "version" : " 0.0.995 " ,
55 "private" : true ,
66 "dependencies" : {
77 "@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';
3232import UserStore from '../../Stores/UserStore' ;
3333import './CallPanel.css' ;
3434
35- const SUPPORTS_ROTATION = true ;
35+ const SUPPORTS_ROTATION = false ;
3636
3737class CallPanel extends React . Component {
3838 constructor ( props ) {
@@ -259,7 +259,7 @@ class CallPanel extends React.Component {
259259 let screenSharing = currentCall && Boolean ( currentCall . screenStream ) ;
260260
261261 let outputVideoStyle = null ;
262- if ( SUPPORTS_ROTATION && outputMediaState && isFirefox ( ) ) {
262+ if ( SUPPORTS_ROTATION && outputMediaState && isFirefox ( ) && ! is_outgoing ) {
263263 outputVideoStyle = {
264264 transform : `rotate(${ outputMediaState . videoRotation } deg)`
265265 } ;
Original file line number Diff line number Diff line change 1414.full-screen # call-output-video {
1515 max-width : unset;
1616 max-height : unset;
17+ position : absolute;
18+ left : 0 ;
19+ top : 0 ;
1720 width : 100% ;
1821 height : 100% ;
1922}
98101.full-screen .call-panel-content {
99102 margin : 0 ;
100103 border-radius : 0 ;
104+ position : relative;
101105}
102106
103107.call-panel-content {
Original file line number Diff line number Diff line change @@ -1653,13 +1653,13 @@ class CallStore extends EventEmitter {
16531653 }
16541654
16551655 p2pSendCallSignalingData ( callId , str ) {
1656- LOG_P2P_CALL ( '[tdlib] sendCallSignalingData' , callId , str ) ;
16571656 const { currentCall } = this ;
16581657 if ( currentCall ) {
16591658 const { encryptor } = currentCall ;
16601659 if ( encryptor ) {
16611660 const data = encryptor . encryptToBase64 ( str ) ;
16621661
1662+ LOG_P2P_CALL ( '[tdlib] sendCallSignalingData' , callId , str ) ;
16631663 TdLibController . send ( {
16641664 '@type' : 'sendCallSignalingData' ,
16651665 call_id : callId ,
You can’t perform that action at this time.
0 commit comments