Artur Shellunts
5cdea4e15d
Avoid per packet operation ( #332 )
2022-01-12 10:23:55 +01: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
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
Artur Shellunts
b0454b00a2
Count padding bytes in telemetry ( #264 )
...
Count padding bytes in telemetry outgoing total bytes
2021-12-20 12:04:50 +01:00
Artur Shellunts
0d229388ec
Telemetry test ( #258 )
...
* Add first test for telemetry
- First test for telemetry package that tests totalBytes field in downstream stats.
- Add fake_analytics_service
2021-12-14 14:13:21 +01:00
Artur Shellunts
c7d728aded
Rename files to match interfaces inside files ( #256 )
...
* Rename analytics.go to analyticsservice.go
* Rename service to telemetryservice
* Rename events.go to telemetryserviceevents.go
2021-12-14 09:47:51 +01:00
Artur Shellunts
c0e0602716
Improve readme ( #222 )
...
Make it clear what keys are LIVEKIT_KEYS
2021-12-01 15:40:56 +01:00
Artur Shellunts
03342efe4f
Test improvements ( #136 )
...
* Fix "ineffectual assignment" linter warning
* Simplify TestClientCouldConnect
* Simplify range expression
2021-10-10 22:37:31 -07:00
Artur Shellunts
4915692f7c
Refactor getConfigString ( #133 )
...
* Add test for getConfigString
* Refactor getConfigString
* Increase connect timeout in tests
2021-10-04 17:20:47 -07:00
Artur Shellunts
1c12272927
Refactor singlenode_test.go ( #131 )
...
* Fix typo
* test: move client creation to where it is used
* Refactor TestAutoSubDisabled
2021-10-04 13:07:38 -07:00