Keep track of expected RTP time stamp and control drift. (#1681)

* Keep track of expected RTP time stamp and control drift.

- Use monotonic clock in RTCP Sender Report and packet times
- Keep the time stamp close to expected time stamp on layer/SSRC
  switches

* clean up

* fix test compile

* more test compile failures
This commit is contained in:
Raja Subramanian
2023-05-04 13:00:57 +05:30
committed by GitHub
parent 298ebaee78
commit 15078eb9f4
8 changed files with 218 additions and 99 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ func disable(f *Forwarder) {
}
func newForwarder(codec webrtc.RTPCodecCapability, kind webrtc.RTPCodecType) *Forwarder {
f := NewForwarder(kind, logger.GetLogger(), nil)
f := NewForwarder(kind, logger.GetLogger(), nil, nil)
f.DetermineCodec(codec, nil)
return f
}