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:06:33 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-329421120-1505379983-sysbot+gh@w3.org>
We don't need an event for the pc to tell us what happened due the SDP we passed to it. Instead, what we need is pc.addRemoteTrack(rtpParams). But that's impossible with SDP.

I no longer rely on pc events but instead I check the remote streams/tracks/receivers after sRD and match them with previous values (stored at app level).

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

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