Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
penguinol committed Aug 5, 2021
1 parent de35faf commit 522749b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion worker/src/RTC/SimulcastConsumer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,8 @@ namespace RTC
// Sync our RTP stream's sequence number.
// If previous frame has not been sent completely when we switch layer,
// We can tell libwebrtc that previous frame is uncompletely by skipping one RTP sequence num.
// 'packet->GetSequenceNumber() -2' may increase SeqManager::base and increase the output seqence num.
// 'packet->GetSequenceNumber() -2' may increase SeqManager::base and increase the output
// seqence num.
// https://github.com/versatica/mediasoup/issues/408
this->rtpSeqManager.Sync(packet->GetSequenceNumber() - (this->lastSentPacketHasMarker ? 1 : 2));

Expand Down

0 comments on commit 522749b

Please sign in to comment.