From 9e6e23ce97f7ab1a4a5c0e8390301fe824614051 Mon Sep 17 00:00:00 2001 From: Thomas Odorfer Date: Wed, 11 Feb 2015 14:28:26 +0100 Subject: [PATCH] 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 --- modules/RTC/RTC.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/RTC/RTC.js b/modules/RTC/RTC.js index 0c17ca065..5a9afe34c 100644 --- a/modules/RTC/RTC.js +++ b/modules/RTC/RTC.js @@ -30,9 +30,9 @@ var RTC = { 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 if(this.localStreams.length == 0 || this.localStreams[0].getOriginalStream() != stream)