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;
});
|