W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > June 2018

Re: [webrtc-pc] Unable to figure out which receivers are "active".

From: henbos via GitHub <sysbot+gh@w3.org>
Date: Fri, 29 Jun 2018 08:49:17 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-401291649-1530262156-sysbot+gh@w3.org>
@alvestrand at https://github.com/w3c/webrtc-pc/issues/1890#issuecomment-401280500 asked:
> A good question wrt "what are the active receivers" is "why do you want to know?".

Active is the equivalent to what has been offered, it's the stuff you wire up to your video element or the tracks you filter out from getStats(). You rarely ever care about inactive receivers, getting the complete set of transceivers is more useful for debugging, high control of SDP and making sure you were able to achieve that early media by reusing offered ones. getReceivers() for basic use cases is muddied with a bunch of objects most people probably wouldn't know why they should care about.

That said this info is available if you have access to the history of ontrack events firing, it's just not easily accessible.

GitHub Notification of comment by henbos
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1920#issuecomment-401291649 using your GitHub account
Received on Friday, 29 June 2018 08:49:20 UTC

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