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 25249 - Source should be detached when a MediaStreamTrack stops for any reason other than stop
Summary: Source should be detached when a MediaStreamTrack stops for any reason other ...
Status: RESOLVED FIXED
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: 2014-04-03 16:26 UTC by Kiran
Modified: 2014-05-08 08:27 UTC (History)
3 users (show)

See Also:


Attachments

Description Kiran 2014-04-03 16:26:21 UTC
In section 4.3.1 of [1]

When track ends for any reason other than stop, the steps should add the following step after the specified (3) steps, just like that for a stop method.

4. Detach track's source.


[1] http://dev.w3.org/2011/webrtc/editor/getusermedia.html
Comment 1 Adam Bergkvist 2014-04-10 06:36:34 UTC
This seem right to me. We need to detach the source to give a possibly unused source the possibility to stop.
Comment 3 Stefan Hakansson LK 2014-05-08 08:27:11 UTC
Fixed in http://dev.w3.org/2011/webrtc/editor/archives/20140507/getusermedia.html