shishirng
26eea78b54
Telemetry connection scores (#377)
* octets - total bytes needs to be uint64
uint32 wraps at 4GB
Signed-off-by: shishir gowda <shishir@livekit.io>
* Cleanup stats handler to use connectionQuality stats
remove per packet rtcp handlers, buffer stats
* cleanup connection stats
* Update mediatrack to store rtcp stats in connection stats
* Update downstream handling of connection stats and telemetry
* Update telemetry tests
Signed-off-by: shishir gowda <shishir@livekit.io>
* Misc fixes
Signed-off-by: shishir gowda <shishir@livekit.io>
* Minor fix to avoid accessing buffer before its allocated
Signed-off-by: shishir gowda <shishir@livekit.io>
* start updateStats worker in AddReciever()
Signed-off-by: shishir gowda <shishir@livekit.io>
* Use previous score to calculate avg scores
* Restructure connectionStats
Signed-off-by: shishir gowda <shishir@livekit.io>