Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add stats for actually used temporal/spatial layers #714

Open
bc-lee opened this issue Dec 9, 2022 · 1 comment
Open

Add stats for actually used temporal/spatial layers #714

bc-lee opened this issue Dec 9, 2022 · 1 comment

Comments

@bc-lee
Copy link

bc-lee commented Dec 9, 2022

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.

@bdrtc
Copy link
Contributor

bdrtc commented Jun 7, 2023

in case spatial scalability used,
how to get resolution of each layer?
how to get which layer is active ? some layer may stopped/active on the fly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants