Move caching of publisher sender report to subscriber side. (#2622)
* Move caching of publisher sender report to subscriber side. Please see inline for descriptive comments on why. Basically, pause/unpause using replaceTrack(null)/replaceTrack(actualTrack) can cause time stamp in sender report sent to subscribers jump ahead. This prevents that. With the caching on subscriber side, cleaning up the caching on publisher side. * fix compile, test still failing, need to debug * skip reference TS for testing
This commit is contained in:
@@ -32,7 +32,7 @@ func disable(f *Forwarder) {
|
||||
}
|
||||
|
||||
func newForwarder(codec webrtc.RTPCodecCapability, kind webrtc.RTPCodecType) *Forwarder {
|
||||
f := NewForwarder(kind, logger.GetLogger(), nil, nil)
|
||||
f := NewForwarder(kind, logger.GetLogger(), true, nil)
|
||||
f.DetermineCodec(codec, nil)
|
||||
return f
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user