muaz-khan / RTCMultiConnection

RTCMultiConnection is a WebRTC JavaScript library for peer-to-peer applications (screen sharing, audio/video conferencing, file sharing, media streaming etc.)
https://muazkhan.com:9001/
MIT License
2.57k stars 1.37k forks source link

Remove stream does not work as expected on Firefox #64

Open AndreaPaciolla opened 9 years ago

AndreaPaciolla commented 9 years ago

Got 'removeStream not yet implemented' on detachMediaStream, RTCMultiConnection.js:2220 on Firefox 41 while trying to stop audio/video streams.

muaz-khan commented 9 years ago

AFAIK, Firefox didn't implemented removeStream method yet:

Not even in nightly builds.

However Firefox implemented replaceTrack method; which allows us replace a real LIVE-video track with something captured using video.mozCaptureStream or canvas.captureStream method.

AndreaPaciolla commented 9 years ago

Hello Muaz, got it. Also by doing other researches it seems firefox has got no planning about that implementation. Anyway,

Thanks Muaz