Various fixes to try & make openwebrtc safari extension work (still doesn't work).

This commit is contained in:
David Baker 2014-11-07 17:56:28 +00:00
parent 1a62f1299d
commit 7d15452c30
5 changed files with 107 additions and 67 deletions

View file

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