Closed Bug 1481851 Opened 2 years ago Closed 2 years ago
Stats: kind is missing from RTPStream Stats
I renamed mediaType to kind in https://github.com/w3c/webrtc-stats/issues/301 and that is now missing from RTCRtpStreamStats. The old name will probably be around forever.
WebIDL review information: The field in question is defined in the WebRTC Stats spec on the RTCRtpStreamStats dictionary  The WebIDL changes confined to dom/webidl/RTCStatsReport.webidl   https://w3c.github.io/webrtc-stats/  https://w3c.github.io/webrtc-stats/#dom-rtcrtpstreamstats  https://searchfox.org/mozilla-central/rev/f0c15db995198a1013e1c5f5b5bea54ef83f1049/dom/webidl/RTCStatsReport.webidl#29
Assignee: nobody → fippo
Priority: P3 → P2
Attachment #8998580 - Flags: review?(na-g)
Comment on attachment 8998580 [details] [diff] [review] also adds (de)serialization for about:webrtc LGTM
Attachment #8998580 - Flags: review?(na-g) → review+
smaug, can you please take a look from a webidl point of view? Can reupload to phabricator too if I missed the deadline.
Attachment #8998580 - Flags: review+
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/87b754ac0db0 Add kind to RTCRtpStreamStats as alias to mediaType. r=ng,smaug
Created a new page for RTCRtpStreamStats: https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpStreamStats Added: https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpStreamStats/kind The BCD data for this is added in PR #2802 on the BCD repo: https://github.com/mdn/browser-compat-data/pull/2802 I've also mentioned this on Firefox 63 for developers.
You need to log in before you can comment on or make changes to this bug.