[webrtc-stats] Unable to distinguish "sender" stats if multiple senders are sending the same track

henbos has just created a new issue for https://github.com/w3c/webrtc-stats:

== Unable to distinguish "sender" stats if multiple senders are sending the same track ==
"trackIdentifier" can be used to look up "track" stats and that made sense until senders were introduced and the same track can be sent multiple times simultaneously.

Now we have both "sender" and "track" stats with no way to help distinguish which sender they represent in cases where trackIdentifier is not unique. RTCRtpSender does not have an id, but its RTCRtpTransceiver has mid.
- Can we expose and use mid in stats? What if its not set?
- Do we need to introduce RTCRtpSender.id and RTC[Audio/Video]SenderStats.senderIdentifier?

Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/342 using your GitHub account

Received on Thursday, 8 March 2018 14:38:01 UTC