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

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

From: Taylor Brandstetter via GitHub <sysbot+gh@w3.org>
Date: Thu, 11 Jan 2018 21:56:32 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-357074110-1515707791-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:21:58 UTC