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 27984 - Should attach the media element to the MediaStream object
Summary: Should attach the media element to the MediaStream object
Status: NEW
Alias: None
Product: WebRTC Working Group
Classification: Unclassified
Component: Media Capture and Streams (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: public-media-capture@w3.org
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-09 09:03 UTC by Qin Jiajia
Modified: 2015-02-09 09:03 UTC (History)
1 user (show)

See Also:


Attachments

Description Qin Jiajia 2015-02-09 09:03:55 UTC
In http://w3c.github.io/mediacapture-main/#loading-and-playing-a-mediastream-in-a-media-element, it says 'When the MediaStream state moves from the active to the inactive state, the User Agent MUST raise an ended event on the media element and set its ended attribute to true.' But currently, there is no directly relationship between mediastream and media element. In mediastream, we can control active to inactive and trigger the 'inactive' event. But we can't raise an ended event on the media element. Should we add the 'attach to element algorithm' like mediasource does? (http://w3c.github.io/media-source/#mediasource-attach )