Explorar el Código

Removes unused code related to Firefox.

Commented part seems not to be required anymore as everything work well without it.
master
paweldomas hace 10 años
padre
commit
a6ff9f8ee2
Se han modificado 1 ficheros con 0 adiciones y 5 borrados
  1. 0
    5
      modules/UI/videolayout/RemoteVideo.js

+ 0
- 5
modules/UI/videolayout/RemoteVideo.js Ver fichero

@@ -194,11 +194,6 @@ RemoteVideo.prototype.waitForPlayback = function (streamElement, stream) {
194 194
     // Register 'onplaying' listener to trigger 'videoactive' on VideoLayout
195 195
     // when video playback starts
196 196
     var onPlayingHandler = function () {
197
-        // FIXME: why do i have to do this for FF?
198
-        if (RTCBrowserType.isFirefox()) {
199
-            //FIXME: weshould use the lib here
200
-            //APP.RTC.attachMediaStream(sel, webRtcStream);
201
-        }
202 197
         self.VideoLayout.videoactive(streamElement, self.id);
203 198
         streamElement.onplaying = null;
204 199
     };

Loading…
Cancelar
Guardar