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

Fire the "track" event from a queued task. #1136

Merged
merged 1 commit into from
Apr 27, 2017

Conversation

taylor-b
Copy link
Contributor

Fixes #1135.

This ensures that by the time the event is fired, the stream in the
event has a full list of tracks.

Fixes w3c#1135.

This ensures that by the time the event is fired, the stream in the
event has a full list of tracks.
@aboba aboba merged commit 8fc6526 into w3c:master Apr 27, 2017
taylor-b added a commit to taylor-b/webrtc-pc that referenced this pull request Aug 9, 2017
Fixes w3c#1508.

This was the behavior before, but I accidentally broke it in PR w3c#1136.

This ensures that if, for example, a description is applied with
audio/video tracks in the same stream, the order of events is:

1. "track" event with audio track, and stream that contains both tracks.
2. "track" event with video track, and stream that contains both tracks.
3. SRD promise resolves.
taylor-b added a commit to taylor-b/webrtc-pc that referenced this pull request Aug 31, 2017
Fixes w3c#1508.

This was the behavior before, but I accidentally broke it in PR w3c#1136.

This ensures that if, for example, a description is applied with
audio/video tracks in the same stream, the order of events is:

1. "track" event with audio track, and stream that contains both tracks.
2. "track" event with video track, and stream that contains both tracks.
3. SRD promise resolves.
taylor-b added a commit to taylor-b/webrtc-pc that referenced this pull request Sep 11, 2017
Fixes w3c#1508.

This was the behavior before, but I accidentally broke it in PR w3c#1136.

This ensures that if, for example, a description is applied with
audio/video tracks in the same stream, the order of events is:

1. "track" event with audio track, and stream that contains both tracks.
2. "track" event with video track, and stream that contains both tracks.
3. SRD promise resolves.
taylor-b added a commit that referenced this pull request Sep 12, 2017
* Ensure that "track" events fire before the SRD promise resolves.

Fixes #1508.

This was the behavior before, but I accidentally broke it in PR #1136.

This ensures that if, for example, a description is applied with
audio/video tracks in the same stream, the order of events is:

1. "track" event with audio track, and stream that contains both tracks.
2. "track" event with video track, and stream that contains both tracks.
3. SRD promise resolves.

* Put enums in <code> blocks.

* Don't queue a task to update the muted state.

* Add missing quotes and <code> tag
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.

2 participants