Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTCPeerConnection: add methods to get local and remote MediaStreams #670

Closed
mparis opened this issue May 25, 2016 · 1 comment
Closed

RTCPeerConnection: add methods to get local and remote MediaStreams #670

mparis opened this issue May 25, 2016 · 1 comment

Comments

@mparis
Copy link
Contributor

mparis commented May 25, 2016

Hello,
I am missing a way of getting the local and remote MediaStreams in RTCPeerConnection [1].
If I am not wrong, with the current API we can only get the local and remote MediaStreamTracks from the RtpSenders and RtpReceivers, but not their related MediaStreams.

What do you think about adding getLocalStreams() and getRemoteStreams()?
Could having a ref to the MediaStream in the MediaSreamTrack be useful?

Refs
[1] http://w3c.github.io/webrtc-pc/#rtcpeerconnection-interface-extensions

@alvestrand
Copy link
Contributor

This should be covered under #568. Closing as duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants