Raja Subramanian
36289bbca7
FPS ( #410 )
...
* WIP commit
* WIP commit
* WIP commit
* WIP commit
* WIP commit
* WIP commit
* Clean up
* Clean up
* Store RTT in stats
* spelling mistake
* Make tests compile
* Fix test compilation error
* fix tests
* clone
* latest protocol
2022-02-08 12:53:14 +05:30
David Colburn
7bbd238188
clean up logs and imports ( #400 )
2022-02-03 14:20:19 -07:00
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 >
2022-01-27 11:24:54 -05:00
Artur Shellunts
6f84b36ccf
Use RTT field in analytics stats ( #304 )
...
* Update protocol to v0.11.7
* Use RTT field in analytics stats
Instead of Delay
2021-12-30 13:13:40 +01:00
Raja Subramanian
07db1ba726
Some more files with types ( #302 )
2021-12-30 16:43:20 +05:30
Artur Shellunts
1b66fe1e23
Fix handling of PacketLost ( #296 )
...
They come accumulated already.
2021-12-30 11:06:00 +01:00
Artur Shellunts
1fa194297f
Implement calculating of RTT for down tracks ( #300 )
...
* Implement calculating of RTT for down tracks
* Fix code style issues
2021-12-29 19:58:41 +01:00
Artur Shellunts
b744a9c2ba
Implement event loop for telemetry service ( #297 )
...
It allows all actions/events to run in the same go routine.
Therefore no synchronization primitives are needed inside
telemetry service implementation.
2021-12-29 19:51:12 +01:00
Artur Shellunts
828d490755
Imlement analytics per track statistics ( #281 )
...
New tests for telemetry + implementation of per track statistics
2021-12-29 19:29:24 +01:00
Artur Shellunts
2209edce20
Make TelemetryService testable ( #276 )
...
* Make TelemetryService testable
Timer is extracted for better testability of telemetryservice.
Divided TelemetryService to internal part that:
- contains business logic
- does not contain timer
- and therefore testable
and external part that:
- does not contain business logic
- contains timer to send analytics every 10 seconds for all participants.
- does not need tests
* Add Test_AnalyticsSentWhenParticipantLeaves
* Fix test
2021-12-28 12:54:56 +01:00