提交 cb8a393d authored 作者: José Luis Millán's avatar José Luis Millán

gulp:format

上级 b221f1eb
...@@ -144,9 +144,9 @@ namespace RTC ...@@ -144,9 +144,9 @@ namespace RTC
return; return;
} }
auto* rtpStream = this->mapMappedSsrcRtpStream.at(packet->GetSsrc()); auto* rtpStream = this->mapMappedSsrcRtpStream.at(packet->GetSsrc());
auto& syncRequired = this->mapRtpStreamSyncRequired.at(rtpStream); auto& syncRequired = this->mapRtpStreamSyncRequired.at(rtpStream);
auto& rtpSeqManager = this->mapRtpStreamRtpSeqManager.at(rtpStream); auto& rtpSeqManager = this->mapRtpStreamRtpSeqManager.at(rtpStream);
// If we need to sync, support key frames and this is not a key frame, ignore // If we need to sync, support key frames and this is not a key frame, ignore
// the packet. // the packet.
...@@ -173,7 +173,7 @@ namespace RTC ...@@ -173,7 +173,7 @@ namespace RTC
rtpSeqManager.Input(packet->GetSequenceNumber(), seq); rtpSeqManager.Input(packet->GetSequenceNumber(), seq);
// Save original packet fields. // Save original packet fields.
auto origSeq = packet->GetSequenceNumber(); auto origSeq = packet->GetSequenceNumber();
// Rewrite packet. // Rewrite packet.
// NOTE: Do not override the ssrc because we want to honor the consumable ssrcs. // NOTE: Do not override the ssrc because we want to honor the consumable ssrcs.
......
...@@ -167,8 +167,8 @@ namespace RTC ...@@ -167,8 +167,8 @@ namespace RTC
this->rtpSeqManager.Input(packet->GetSequenceNumber(), seq); this->rtpSeqManager.Input(packet->GetSequenceNumber(), seq);
// Save original packet fields. // Save original packet fields.
auto origSsrc = packet->GetSsrc(); auto origSsrc = packet->GetSsrc();
auto origSeq = packet->GetSequenceNumber(); auto origSeq = packet->GetSequenceNumber();
// Rewrite packet. // Rewrite packet.
packet->SetSsrc(this->rtpParameters.encodings[0].ssrc); packet->SetSsrc(this->rtpParameters.encodings[0].ssrc);
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论