summary refs log tree commit diff
path: root/syweb/webclient/room
diff options
context:
space:
mode:
authorDavid Baker <dbkr@matrix.org>2014-11-07 17:56:28 +0000
committerDavid Baker <dbkr@matrix.org>2014-11-07 17:56:28 +0000
commit7d15452c3037b887a85d0b65916de90b2d2c4573 (patch)
tree244d8c28c07ea4043e6e4dd1478d8b25722a663c /syweb/webclient/room
parentDetect call type by examining the SDP always rather than just in Firefox as i... (diff)
downloadsynapse-7d15452c3037b887a85d0b65916de90b2d2c4573.tar.xz
Various fixes to try & make openwebrtc safari extension work (still doesn't work).
Diffstat (limited to 'syweb/webclient/room')
-rw-r--r--syweb/webclient/room/room-controller.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/syweb/webclient/room/room-controller.js b/syweb/webclient/room/room-controller.js
index d3fb85b9dc..b878a1f718 100644
--- a/syweb/webclient/room/room-controller.js
+++ b/syweb/webclient/room/room-controller.js
@@ -919,8 +919,8 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput'])
         var call = new MatrixCall($scope.room_id);
         call.onError = $rootScope.onCallError;
         call.onHangup = $rootScope.onCallHangup;
-        call.localVideoElement = angular.element('#localVideo')[0];
-        call.remoteVideoElement = angular.element('#remoteVideo')[0];
+        call.localVideoSelector = '#localVideo';
+        call.remoteVideoSelector = '#remoteVideo';
         call.placeVideoCall();
         $rootScope.currentCall = call;
     };