Files
livekit/pkg/sfu/buffer/streamstats.go
Raja Subramanian 9032db857c Connection quality clean up (#766)
* WIP commit

* WIP commit

* Remove debug

* Revert to reduce diff

* Fix tests

* Determine spatial layer from track info quality if non-simulcast

* Adjust for invalid layer on no rid, previously that function was returning 0 for no rid case

* Fall back to top level width/height if there are no layers

* Use duration from RTPDeltaInfo
2022-06-18 21:58:47 +05:30

7 lines
112 B
Go

package buffer
type StreamStatsWithLayers struct {
RTPStats *RTPDeltaInfo
Layers map[int32]*RTPDeltaInfo
}