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:
@@ -1,6 +1,8 @@
|
||||
package testutils
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/pion/rtp"
|
||||
"github.com/pion/webrtc/v3"
|
||||
|
||||
@@ -18,7 +20,7 @@ type TestExtPacketParams struct {
|
||||
SSRC uint32
|
||||
PayloadSize int
|
||||
PaddingSize byte
|
||||
ArrivalTime int64
|
||||
ArrivalTime time.Time
|
||||
VideoLayer buffer.VideoLayer
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user