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

Update a receiver's set of remote streams when "a=msid" lines change. #1909

Closed

Conversation

taylor-b
Copy link
Contributor

@taylor-b taylor-b commented Jun 20, 2018

Fixes #1609.

This PR updates the [[AssociatedRemoteMediaStreams]] slot in every
setRemoteDescription call, even if the direction isn't changing, and
also adds:

  • A getStreams() method to RTCRtpReceiver, just returning the value
    of the internal slot.
  • A streamsupdated event, to tell when the set of streams changes.
    Fired at the end of setRemoteDescription like everything else.

Fixes w3c#1609.

This PR updates the `[[AssociatedRemoteMediaStreams]]` slot in every
`setRemoteDescription` call, even if the direction isn't changing, and
also adds:

- A `getStreams()` method to `RTCRtpReceiver`, just returning the value
  of the internal slot.
- A `streamsupdated` event, to tell when the set of stremas changes.
  Fired at the end of `setRemoteDescription` like everything else.
@alvestrand
Copy link
Contributor

There's new API in here, so we need list discussion, and perhaps a new VI topic.

@alvestrand
Copy link
Contributor

We might fire the track event again, rather than adding a setstreams event. (Jan-Ivar's comment).

@jan-ivar
Copy link
Member

Discussed this with editors today, and we favor firing the track event in this case.

@jan-ivar jan-ivar mentioned this pull request Jul 25, 2018
@jan-ivar
Copy link
Member

Closing this in favor of #1947.

@jan-ivar jan-ivar closed this Jul 25, 2018
@jan-ivar jan-ivar mentioned this pull request Jul 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants