提交 c882311f authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

cosmetic

上级 85fb0926
......@@ -828,10 +828,11 @@ namespace RTC
this->tsOffset = tsOffset;
// 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 incomplete by skipping one RTP sequence number.
// 'packet->GetSequenceNumber() -2' may increase SeqManager::base and increase the
// output sequence number.
// If previous frame has not been sent completely when we switch layer,
// we can tell libwebrtc that previous frame is incomplete by skipping
// one RTP sequence number.
// 'packet->GetSequenceNumber() -2' may increase SeqManager::base and
// increase the output sequence number.
// https://github.com/versatica/mediasoup/issues/408
this->rtpSeqManager.Sync(packet->GetSequenceNumber() - (this->lastSentPacketHasMarker ? 1 : 2));
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论