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
This commit is contained in:
Raja Subramanian
2022-06-18 21:58:47 +05:30
committed by GitHub
parent 651d2aee4d
commit 9032db857c
12 changed files with 351 additions and 407 deletions
+1 -13
View File
@@ -1,18 +1,6 @@
package buffer
type LayerStats struct {
Packets uint32
Bytes uint64
Frames uint32
}
type StreamStatsWithLayers struct {
RTPStats *RTPDeltaInfo
Layers map[int]LayerStats
}
type ConnectionQualityParams struct {
LossPercentage float32
Jitter float32
Rtt uint32
Layers map[int32]*RTPDeltaInfo
}