[webrtc-stats] Stats report for RTCRtpContributingSource objects

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

== Stats report for RTCRtpContributingSource objects ==
I'd like to propose adding a stats object that mirrors the `RTCRtpContributingSource` object in the RTP media API. At minimum, it could have the same information as `RTCRtpContributingSource` does, with an ID to relate it to the inbound stream stats:

```
dictionary RTCRTPContributingSourceStats {
    DOMString           rtpStreamStatsId;
    DOMHighResTimeStamp timestamp;
    unsigned long       source;
    byte                audioLevel;
    boolean             voiceActivityFlag;
};
```

It may also be useful to also add packet counts, to tell how often a source contributed to the stream.

@vr000m, @alvestrand: thoughts? If you don't see any issue with this, I can write a PR.

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

Received on Thursday, 16 March 2017 21:24:14 UTC