getStats: add kind alias for mediaType
see https://github.com/w3c/webrtc-stats/issues/301 IDL: https://w3c.github.io/webrtc-stats/#dom-rtcrtpstreamstats Change-Id: I7da443bd1cbf07c9a3118ac04329db28b3543b3f BUG=webrtc:9674 Change-Id: I7da443bd1cbf07c9a3118ac04329db28b3543b3f Reviewed-on: https://webrtc-review.googlesource.com/96420 Commit-Queue: Henrik Boström <hbos@webrtc.org> Reviewed-by: Henrik Boström <hbos@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24532}
This commit is contained in:

committed by
Commit Bot

parent
55de08e7ef
commit
3bc0166a4e
@ -473,6 +473,7 @@ WEBRTC_RTCSTATS_IMPL(RTCRTPStreamStats, RTCStats, "rtp",
|
||||
&associate_stats_id,
|
||||
&is_remote,
|
||||
&media_type,
|
||||
&kind,
|
||||
&track_id,
|
||||
&transport_id,
|
||||
&codec_id,
|
||||
@ -493,6 +494,7 @@ RTCRTPStreamStats::RTCRTPStreamStats(std::string&& id, int64_t timestamp_us)
|
||||
associate_stats_id("associateStatsId"),
|
||||
is_remote("isRemote", false),
|
||||
media_type("mediaType"),
|
||||
kind("kind"),
|
||||
track_id("trackId"),
|
||||
transport_id("transportId"),
|
||||
codec_id("codecId"),
|
||||
@ -508,6 +510,7 @@ RTCRTPStreamStats::RTCRTPStreamStats(const RTCRTPStreamStats& other)
|
||||
associate_stats_id(other.associate_stats_id),
|
||||
is_remote(other.is_remote),
|
||||
media_type(other.media_type),
|
||||
kind(other.kind),
|
||||
track_id(other.track_id),
|
||||
transport_id(other.transport_id),
|
||||
codec_id(other.codec_id),
|
||||
|
Reference in New Issue
Block a user