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

Re: [webrtc-pc] Do we need a "trackremoved" event?

From: Iñaki Baz Castillo via GitHub <sysbot+gh@w3.org>
Date: Thu, 14 Sep 2017 09:29:22 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-329427049-1505381352-sysbot+gh@w3.org>
Actually I produce the remote SDP locally by adding the info (RTP parameters) of the added/removed remote track (whose RTP parameters are signaled). Then I call `setRemoteDescription(offer)` with the locally built remote offer. And then I iterate the `pc.getReceivers()` until I find the track with the `.id` corresponding to the `a=msid` that I've locally created:

https://github.com/versatica/mediasoup-client/blob/master/lib/handlers/Safari11.js#L352

-- 
GitHub Notification of comment by ibc
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1161#issuecomment-329427049 using your GitHub account
Received on Thursday, 14 September 2017 09:29:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 4 June 2019 15:32:45 UTC