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:
parent
67f1a040eb
commit
a6ff9f8ee2
|
@ -194,11 +194,6 @@ RemoteVideo.prototype.waitForPlayback = function (streamElement, stream) {
|
||||||
// Register 'onplaying' listener to trigger 'videoactive' on VideoLayout
|
// Register 'onplaying' listener to trigger 'videoactive' on VideoLayout
|
||||||
// when video playback starts
|
// when video playback starts
|
||||||
var onPlayingHandler = function () {
|
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);
|
self.VideoLayout.videoactive(streamElement, self.id);
|
||||||
streamElement.onplaying = null;
|
streamElement.onplaying = null;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue