I've noticed a couple of problems related to the localMediaStream

First is an error when calling pc.removeStream(localStream)

Second is a problem with serial reuse of the stream in a push-to-talk
scenario

Stream reuse works fine if my local display is assigned using
video.mozSrcObject = localStream

However, if I have used video.src = URL.createObjectUrl(localStream) then
the stream fails silently and does not emit audio/video after a couple of
uses.

So, on to my questions:

Is it necessary to call pc.removeStream if I am calling pc.close()
immediately afterward?

What is the offiicial position on mozSrcObject vs createObjectURL ?

Thanks!
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media

Reply via email to