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

Re: [webrtc-pc] examples: dont fiddle with srcObject if already set

From: Taylor Brandstetter via GitHub <sysbot+gh@w3.org>
Date: Thu, 20 Apr 2017 14:29:17 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-295758222-1492698556-sysbot+gh@w3.org>
One issue may be that when the `track` event is first fired, as currently specified the stream will only include one track (the one in the event).

So will it be an issue if `srcObject` is set while the stream only has an audio track, then the video track is added in the next microtask? Or is this guaranteed to work? I've run into some issues with this kind of thing in Chrome, but was unsure if it was a bug or expected behavior.

GitHub Notification of comment by taylor-b
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/pull/1129#issuecomment-295758222 using your GitHub account
Received on Thursday, 20 April 2017 14:29:28 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:40 UTC