W3C home > Mailing lists > Public > public-webrtc@w3.org > December 2013

Re: Has MediaStream the stop() method?

From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Mon, 30 Dec 2013 12:19:37 +0100
Message-ID: <CALiegfkHkscSDPTgRZQ4fhk9h1M4yXzWktkQHzCq5yi8xp1n_Q@mail.gmail.com>
To: "public-webrtc@w3.org" <public-webrtc@w3.org>
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
Received on Monday, 30 December 2013 11:20:30 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:37 UTC