Update RTC.js

fix for screensharing screen ratio and local mirror effect - forgotten parameter videoType in RTC.js in jitsi-meet commit 6c4a5bd tag 340
This commit is contained in:
Thomas Odorfer 2015-02-11 14:28:26 +01:00
parent 61bbbaf6eb
commit 9e6e23ce97
1 changed files with 2 additions and 2 deletions

View File

@ -30,9 +30,9 @@ var RTC = {
eventEmitter.removeListener(eventType, listener); eventEmitter.removeListener(eventType, listener);
}, },
createLocalStream: function (stream, type, change) { createLocalStream: function (stream, type, change, videoType) {
var localStream = new LocalStream(stream, type, eventEmitter); var localStream = new LocalStream(stream, type, eventEmitter, videoType);
//in firefox we have only one stream object //in firefox we have only one stream object
if(this.localStreams.length == 0 || if(this.localStreams.length == 0 ||
this.localStreams[0].getOriginalStream() != stream) this.localStreams[0].getOriginalStream() != stream)