summary refs log tree commit diff
path: root/webclient/app-controller.js
diff options
context:
space:
mode:
authorDavid Baker <dbkr@matrix.org>2014-09-17 16:26:35 +0100
committerDavid Baker <dbkr@matrix.org>2014-09-17 16:26:35 +0100
commit1fb2c831e824d89aa849fc2aee45f5f1162842b2 (patch)
tree124f735faff26a592517ce88aa99bcf1f9cd712a /webclient/app-controller.js
parentTime out calls from both ends properly. (diff)
downloadsynapse-1fb2c831e824d89aa849fc2aee45f5f1162842b2.tar.xz
Video calling (in a tiny box at the moment)
Diffstat (limited to 'webclient/app-controller.js')
-rw-r--r--webclient/app-controller.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/webclient/app-controller.js b/webclient/app-controller.js
index 6338624486..e9912f886d 100644
--- a/webclient/app-controller.js
+++ b/webclient/app-controller.js
@@ -150,6 +150,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];
         $rootScope.currentCall = call;
     });