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 22222 - Impossible to bind manually created MediaStream to getUserMedia
Summary: Impossible to bind manually created MediaStream to getUserMedia
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:
Blocks:
 
Reported: 2013-05-30 21:17 UTC by Dominique Hazael-Massieux
Modified: 2014-04-01 13:14 UTC (History)
3 users (show)

See Also:


Attachments

Description Dominique Hazael-Massieux 2013-05-30 21:17:42 UTC
From what I recall, the constructors for VideoStreamTrack and AudioStreamTrack were defined so that one could build a MediaStream out of them, and then request permission via getUserMedia.

That notion is still vaguely mentioned in the spec:
"Those actions only happen after the developer has requested that a media stream containing "new" tracks be bound to a source via getUserMedia(). Until that point tracks are inert."

But getUserMedia doesn't currently offer a way to get consent for such a manually constructed MediaStream.

We need either to define it, or we should remove the constructors (or at least explain why they can be used for and how).
Comment 1 Stefan Hakansson LK 2013-05-31 07:23:43 UTC
My view is that we should define how to bind manually created MediaStream to getUserMedia. It is valuable in a WebRTC context.
Comment 2 Harald Alvestrand 2013-08-13 12:41:04 UTC
My view is that we should remove the constructors until a complete use case and solution (with explanations of how to handle the corner cases) is constructed and proposed.
Comment 3 Stefan Hakansson LK 2014-02-20 13:28:59 UTC
There has been no activity looking into this. I agree to Harald, let's remove the constructors.
Comment 4 Stefan Hakansson LK 2014-04-01 13:14:04 UTC
In the latest Editor's draft the constructors are removed.

Closing the bug.