[webrtc-stats] Rethinking "sender" and "receiver" stats (#471)

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

== Rethinking "sender" and "receiver" stats ==
Now that everything is in "outbound-rtp" and "inbound-rtp", the "sender" and "receiver" (and "track") stats is based on a hierarchy of mostly empty dictionaries with some ID references.

We can simplify this:
- RTCMediaHandlerStats can contain "kind" and "mid", and for backwards compatibility with "track" stats have "remoteSource" in the obsolete section. It can also have an array of "streamIdentifiers", removing the need for RTCMediaStreamStats.
- RTCSenderStats can inherit directly from it, adding "mediaSourceId"
- RTCReceiverStats can inherit directly from it too.

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

Received on Wednesday, 14 August 2019 14:01:47 UTC