Ignore receiver reports that have a sequence number before first packet. (#1745)
This commit is contained in:
@@ -1649,7 +1649,7 @@ func (f *Forwarder) maybeStart() {
|
||||
f.firstTS = extPkt.Packet.Timestamp
|
||||
}
|
||||
|
||||
func (f *Forwarder) GetSnTsForPadding(num int) ([]SnTs, error) {
|
||||
func (f *Forwarder) GetSnTsForPadding(num int, forceMarker bool) ([]SnTs, error) {
|
||||
f.lock.Lock()
|
||||
defer f.lock.Unlock()
|
||||
|
||||
@@ -1660,7 +1660,6 @@ func (f *Forwarder) GetSnTsForPadding(num int) ([]SnTs, error) {
|
||||
// not get out-of-sync. But, when a stream is paused,
|
||||
// force a frame marker as a restart of the stream will
|
||||
// start with a key frame which will reset the decoder.
|
||||
forceMarker := false
|
||||
if !f.vls.GetTarget().IsValid() {
|
||||
forceMarker = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user