Stats of NACKs acked and number of repeated NACKs. (#664)

* Stats of NACKs acked and number of repeated NACKs.

Also making a change in delta stat to drop negative packet loss
counts to 0. Because of windowing it is a legitimate case.
The receiver could have seen a loss in window we are measuring
and in the subsequent window, the receiver could have gotten
a retransmission and reduced the packet loss count resulting
in a negative delta. When we report negative delta, it could
get dropped by analytics validator. That will be lost data.
Avoid that.

* Remove unused code

* Pick up latest protocol
This commit is contained in:
Raja Subramanian
2022-05-02 22:43:21 +05:30
committed by GitHub
parent fe8c355a32
commit 1665f51bd0
4 changed files with 33 additions and 29 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ require (
github.com/google/wire v0.5.0
github.com/gorilla/websocket v1.4.2
github.com/hashicorp/golang-lru v0.5.4
github.com/livekit/protocol v0.13.2-0.20220502043729-cef16c8ef304
github.com/livekit/protocol v0.13.2-0.20220502170852-688e4f627bcf
github.com/mackerelio/go-osstat v0.2.1
github.com/magefile/mage v1.11.0
github.com/maxbrunsfeld/counterfeiter/v6 v6.3.0