mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-15 00:32:21 -04:00
Various fixes to try & make openwebrtc safari extension work (still doesn't work).
This commit is contained in:
parent
1a62f1299d
commit
7d15452c30
5 changed files with 107 additions and 67 deletions
|
@ -112,8 +112,8 @@ angular.module('MatrixWebClientController', ['matrixService', 'mPresence', 'even
|
|||
if (!$rootScope.currentCall) {
|
||||
// This causes the still frame to be flushed out of the video elements,
|
||||
// avoiding a flash of the last frame of the previous call when starting the next
|
||||
angular.element('#localVideo')[0].load();
|
||||
angular.element('#remoteVideo')[0].load();
|
||||
if (angular.element('#localVideo')[0].load) angular.element('#localVideo')[0].load();
|
||||
if (angular.element('#remoteVideo')[0].load) angular.element('#remoteVideo')[0].load();
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -187,8 +187,8 @@ angular.module('MatrixWebClientController', ['matrixService', 'mPresence', 'even
|
|||
}
|
||||
call.onError = $scope.onCallError;
|
||||
call.onHangup = $scope.onCallHangup;
|
||||
call.localVideoElement = angular.element('#localVideo')[0];
|
||||
call.remoteVideoElement = angular.element('#remoteVideo')[0];
|
||||
call.localVideoSelector = '#localVideo';
|
||||
call.remoteVideoSelector = '#remoteVideo';
|
||||
$rootScope.currentCall = call;
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue