This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22215 - MediaStream.ended should be readonly
Summary: MediaStream.ended should be readonly
Status: RESOLVED FIXED
Alias: None
Product: WebRTC Working Group
Classification: Unclassified
Component: Media Capture and Streams (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: public-media-capture@w3.org
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 21618
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-30 14:02 UTC by Dominique Hazael-Massieux
Modified: 2013-09-03 09:39 UTC (History)
2 users (show)

See Also:


Attachments

Description Dominique Hazael-Massieux 2013-05-30 14:02:40 UTC
From what I understand of the spec, the ended attribute on MediaStream should be a readonly attribute — it only ever gets updated by the browser, not by the application.

Note also that the notion of the "finished" state of a MediaStream object makes rather unclear references to the stop() method that is now on MediaStreamTrack, and given that a MediaStream object can contain several MediaStreamTrack, it's not obvious that the described condition makes sense.
Comment 1 Dominique Hazael-Massieux 2013-09-02 09:44:18 UTC
(this depends on our general approach to ended state for mediastream)
Comment 2 Adam Bergkvist 2013-09-03 09:39:16 UTC
Regardless the outcome of the ended/inactive discussion, this bug was fixed in the 20130704 release [1].

Closing as resolved.

[1] http://lists.w3.org/Archives/Public/public-media-capture/2013Jul/0001.html