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

Re: [webrtc-pc] setRemoteDescription and ontrack order of events: SRD before ontrack?

From: henbos via GitHub <sysbot+gh@w3.org>
Date: Fri, 28 Jul 2017 12:10:28 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-318635889-1501243826-sysbot+gh@w3.org>
Related: With the recent https://github.com/w3c/webrtc-pc/pull/1402/files (@jan-ivar) we also add and remove tracks to the associated streams of the receiver. This results in addtrack and removetrack events firing, but note that this processing happens before we fire the `ontrack` and exposing the new streams, so there will be no chance to hook up anything to the streams' `onaddtrack`. Is this on purpose?

GitHub Notification of comment by henbos
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1508#issuecomment-318635889 using your GitHub account
Received on Friday, 28 July 2017 12:10:30 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:21:40 UTC