[webrtc-stats] Merge obsolete sender/receiver stats into obsolete track stats. (#636)

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

== Merge obsolete sender/receiver stats into obsolete track stats. ==
While things are less confusing now thanks to #580, there is still an opportunity to clarify some things.

The whole RTC[Audio/Video][Sender/Receiver]Stats and equally many "[...]AttachmentStats" varieties is pointless these days.
With sender and receivers removed the only dictionary that actually gets created at the end of the day is the "track" stats, which happens to be implemented as a single RTCMediaStreamTrackStats dictionary rather than this hierarchy:
https://source.chromium.org/chromium/chromium/src/+/main:third_party/webrtc/api/stats/rtcstats_objects.h;l=320;drc=6fb8d1a2d7c158caa1ddb63c9fa9b6a5e2548a43

Let's update the spec to match the implementation by flatting this hierarchy. It's a completely editorial change and only affects an obsolete section but it makes the spec much more readable.


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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 9 June 2022 14:49:44 UTC