[webrtc-stats] Add stats for actually used temporal/spatial layers (#714)

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

== Add stats for actually used temporal/spatial layers ==
Related: #673

`RTCOutboundRtpStreamStats.scalabilityMode` represents the `scalabilityMode` value set for the RTP stream, and it provides useful information for the SVC stream.

However, the SVC stream may have a different temporal/spatial layer than the one set.

For temporal scalability, the VP8 codec may be using temporal scalability even when no scalabilityMode is configured. Also, some codec implementations may not support three temporal layers.

For spatial scalability, some layers may be disabled if there is not enough bandwidth.

I'd like to add a stats field to report these cases.
How about adding these two fields to `RTCOutboundRtpStreamStats`?

`numTemporalLayer`: Only exists for video.. The number of temporal scalability currently in use.

`numSpatialLayer`: Only exists for video. The number of spatial scalability currently in use.

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

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

Received on Friday, 9 December 2022 01:47:10 UTC