From e460f0c8fa2e0a58a4c4b67d202297629846ced4 Mon Sep 17 00:00:00 2001 From: damencho Date: Tue, 10 Nov 2015 16:40:34 -0600 Subject: [PATCH] Fixes lastN video change. Resulting 'Uncaught TypeError: stream.getOriginalStream is not a function', problem detected by torture (3 participants and the last one receives last-n changed event on joining and screenshot shows: it is missing one of the participants and logs contain this error). --- modules/UI/videolayout/VideoLayout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.js index 58c226b2c..fd898c4b5 100644 --- a/modules/UI/videolayout/VideoLayout.js +++ b/modules/UI/videolayout/VideoLayout.js @@ -747,7 +747,7 @@ var VideoLayout = (function (my) { updateLargeVideo = false; } remoteVideos[resourceJid]. - waitForPlayback(sel, mediaStream.stream); + waitForPlayback(sel, mediaStream); } }); }