Use RTCP SR to resync. (#2021)

Remove packet debug code that was added temporarily.
This commit is contained in:
Raja Subramanian
2023-08-31 11:45:42 +05:30
committed by GitHub
parent 6e3a20ebf4
commit 790954bbe9
5 changed files with 108 additions and 41 deletions
+2 -3
View File
@@ -116,13 +116,13 @@ func (s *sequencer) push(
layer int8,
codecBytes []byte,
ddBytes []byte,
) bool {
) {
s.Lock()
defer s.Unlock()
slot, isValid := s.getSlot(offSn)
if !isValid {
return false
return
}
s.meta[s.metaWritePtr] = packetMeta{
@@ -142,7 +142,6 @@ func (s *sequencer) push(
if s.metaWritePtr >= len(s.meta) {
s.metaWritePtr -= len(s.meta)
}
return true
}
func (s *sequencer) pushPadding(offSn uint16) {