Files
livekit/pkg/sfu/buffer/streamstats.go
Raja Subramanian ae85e55fd4 Using RTPStats across the board (#515)
* WIP commit

* Clean up
2022-03-15 17:47:19 +05:30

21 lines
360 B
Go

package buffer
import "github.com/livekit/protocol/livekit"
type LayerStats struct {
TotalPackets uint32
TotalBytes uint64
TotalFrames uint32
}
type StreamStatsWithLayers struct {
RTPStats *livekit.RTPStats
Layers map[int]LayerStats
}
type ConnectionQualityParams struct {
LossPercentage float32
Jitter float32
Rtt uint32
}