From a6ff9f8ee26be01b123e20fd2ae4fba1978ef6eb Mon Sep 17 00:00:00 2001 From: paweldomas Date: Tue, 2 Feb 2016 10:41:32 -0600 Subject: [PATCH] Removes unused code related to Firefox. Commented part seems not to be required anymore as everything work well without it. --- modules/UI/videolayout/RemoteVideo.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/UI/videolayout/RemoteVideo.js b/modules/UI/videolayout/RemoteVideo.js index e1e68d8d5..eb0ca0d77 100644 --- a/modules/UI/videolayout/RemoteVideo.js +++ b/modules/UI/videolayout/RemoteVideo.js @@ -194,11 +194,6 @@ RemoteVideo.prototype.waitForPlayback = function (streamElement, stream) { // Register 'onplaying' listener to trigger 'videoactive' on VideoLayout // when video playback starts var onPlayingHandler = function () { - // FIXME: why do i have to do this for FF? - if (RTCBrowserType.isFirefox()) { - //FIXME: weshould use the lib here - //APP.RTC.attachMediaStream(sel, webRtcStream); - } self.VideoLayout.videoactive(streamElement, self.id); streamElement.onplaying = null; };