W3C home > Mailing lists > Public > public-webrtc@w3.org > August 2017

[webrtc-pc] Pull Request: Ensure that "track" events fire before the SRD promise resolves.

From: Taylor Brandstetter via GitHub <sysbot+gh@w3.org>
Date: Wed, 09 Aug 2017 00:32:50 +0000
To: public-webrtc@w3.org
Message-ID: <pull_request.opened-134787444-1502238767-sysbot+gh@w3.org>
taylor-b has just submitted a new pull request for https://github.com/w3c/webrtc-pc:

== 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.

See https://github.com/w3c/webrtc-pc/pull/1519
Received on Wednesday, 9 August 2017 00:32:50 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:51 UTC