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

@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