Re: [mediacapture-main] How can I get from a MediaStreamTrack to its MediaStream parent?

You can't. A track can be a member of multiple MediaStreams.

You can, however, create a new MediaStream with "new 
MediaStream(yourTrack)". There's no particular reason to use the 
original MediaStream, unless you want access to other track inside 
that MediaStream.

-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at 
https://github.com/w3c/mediacapture-main/issues/406#issuecomment-251312258
 using your GitHub account

Received on Tuesday, 4 October 2016 07:17:15 UTC