Removes unused code related to Firefox.

Commented part seems not to be required anymore as everything work well without it.
This commit is contained in:
paweldomas 2016-02-02 10:41:32 -06:00
parent 67f1a040eb
commit a6ff9f8ee2
1 changed files with 0 additions and 5 deletions

View File

@ -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;
};