Re: [webrtc-stats] Adding SVC-related stats fields (#673)

In my opinion, per-layer (spatial or temporal) stats require a lot of work. Let's start with the simplest one.

For example, how about adding three fields to `RTCOutboundRTPStreamStats`?

`spatialLayerCount`: For SVC, returns the number of spatial layers configured. Returns 1 for simulcast or unicast.
`temporalLayerCount`: Returns the number of configured temporal layers. (We can mix simulcast and temporal scalability in VP8 or H.264.)
`spatialLayerActiveCount`: For SVC, returns the number of spatial layers currently in use. May be less than `spatialLayerCount` due to bandwidth limitations. Returns 1 for simulcast or unicast.

I don't know if it is possible to change the number of temporary layers at runtime.

https://webrtc-review.googlesource.com/c/src/+/285420 is a prototype implementation in libwebrtc.

-- 
GitHub Notification of comment by bc-lee
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/673#issuecomment-1330179734 using your GitHub account


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

Received on Tuesday, 29 November 2022 07:10:53 UTC