Re: [webrtc-stats] RTCRTPStreamStats should have senderId/receiverId

What's the difference between `RTCVideoSenderStats` and `RTCLocalVideoStreamTrackStats`? Does it have to do with `replaceTrack`? I'm a little confused about the current state of the stats objects.

Anyway, to answer your question: it's not a 1:1 mapping, more a 1:M mapping. My current understanding is that each `RTCRTPStreamStats` represents one RTP stream, and one sender/receiver could definitely use multiple RTP streams over its lifetime. In the case of the sender, multiple at once if using simulcast.

-- 
GitHub Notification of comment by taylor-b
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/293#issuecomment-357074110 using your GitHub account

Received on Thursday, 11 January 2018 21:56:35 UTC