Monitor and log RTP time stmap drifts (#1710)
The PID controller seems to be working well. But, it is unclear where it can be applied as some of the data shows significant jumps (either caused by BT devices or possibly noise cancellation/cpu constraint) and although PID controller is slowly pulling things to expected sample rate, it could be a bit slow. Unfortunately, cannot munge too much in a middle box. However leaving the controller in there as it is doing its job for cases where things slip slowly. Changing things to log significant jumps (more than 200 ms away from expected) at Infow level. Also, recording drift and sample rate in RTP stats proto and string representation.
This commit is contained in:
@@ -18,7 +18,7 @@ require (
|
||||
github.com/jxskiss/base62 v1.1.0
|
||||
github.com/livekit/mageutil v0.0.0-20230125210925-54e8a70427c1
|
||||
github.com/livekit/mediatransportutil v0.0.0-20230511025422-058ebf6b48c9
|
||||
github.com/livekit/protocol v1.5.7-0.20230510002113-cadccd54108e
|
||||
github.com/livekit/protocol v1.5.7-0.20230513090813-c5dc103838fd
|
||||
github.com/livekit/psrpc v0.3.1-0.20230502152150-df9dd21fba11
|
||||
github.com/mackerelio/go-osstat v0.2.4
|
||||
github.com/magefile/mage v1.14.0
|
||||
|
||||
Reference in New Issue
Block a user