Re: Has MediaStream the stop() method?

2013/12/30 Iñaki Baz Castillo <ibc@aliax.net>:
> Hi, according to http://www.w3.org/TR/mediacapture-streams/ and
> http://dev.w3.org/2011/webrtc/editor/getusermedia.html the MediaStream
> class has no "stop" method, but the example 2 clearly shows
> "stream.stop()".
>
> Is it a bug in the spec? In fact, Firefox 26 does not include the
> stop() method in MediaStream while Chrome does.

Currently FF returns a LocalMediaStream after mozGetUserMedia, which
does implement the stop method. But AFAIK it will become a MediaStream
in the future, am I right? If so, why does not the spec mention the
stop method?


-- 
Iñaki Baz Castillo
<ibc@aliax.net>

Received on Monday, 30 December 2013 11:20:30 UTC