mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-25 03:35:28 +00:00
Oops, change videoElement / selector in audio call too.
This commit is contained in:
parent
f4a3b194da
commit
2b64c573c3
@ -898,7 +898,7 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput', 'a
|
|||||||
call.onError = $rootScope.onCallError;
|
call.onError = $rootScope.onCallError;
|
||||||
call.onHangup = $rootScope.onCallHangup;
|
call.onHangup = $rootScope.onCallHangup;
|
||||||
// remote video element is used for playing audio in voice calls
|
// remote video element is used for playing audio in voice calls
|
||||||
call.remoteVideoElement = angular.element('#remoteVideo')[0];
|
call.remoteVideoSelector = angular.element('#remoteVideo')[0];
|
||||||
call.placeVoiceCall();
|
call.placeVoiceCall();
|
||||||
$rootScope.currentCall = call;
|
$rootScope.currentCall = call;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user