webrtc-stats icon indicating copy to clipboard operation
webrtc-stats copied to clipboard

Redundant field `kind` in RTCInboundRtpStreamStats

Open balazskreith opened this issue 3 years ago • 2 comments

Check the summary table, "inbound-rtp", and you see the field kind listed twice.

RTCInboundRtpStreamStats contains the field kind. RTCInboundRtpStreamStats dictionary extends RtcReceivedRtpStreamStats RtcReceivedRtpStreamStats dictionary extends RtcRtpStreamStats RtcRtpStreamStats dictionary contains kind field.

It makes sense to keep it only in RtcRtpStreamStats.

balazskreith avatar Sep 24 '22 08:09 balazskreith

Agree, we should not have the other dictionaries, redefine this.

vr000m avatar Oct 04 '22 10:10 vr000m

Let's remove the duplicate definitions. Will you create a PR?

henbos avatar Oct 18 '22 13:10 henbos