Delta stats throughout (#615)
* Use delta stats throughout and avoid calculating deltas in telemetry * Fix a few things after testing * Remove debug * Fix tests * delete instead of setting to nil * Point to the latest protocol
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
package buffer
|
||||
|
||||
import "github.com/livekit/protocol/livekit"
|
||||
|
||||
type LayerStats struct {
|
||||
TotalPackets uint32
|
||||
TotalBytes uint64
|
||||
TotalFrames uint32
|
||||
Packets uint32
|
||||
Bytes uint64
|
||||
Frames uint32
|
||||
}
|
||||
|
||||
type StreamStatsWithLayers struct {
|
||||
RTPStats *livekit.RTPStats
|
||||
RTPStats *RTPDeltaInfo
|
||||
Layers map[int]LayerStats
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user