Skip to content

Commit

Permalink
Update RtpStreamRecv.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
penguinol committed Aug 18, 2023
1 parent bd7627b commit 4bb2711
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions worker/src/RTC/RtpStreamRecv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,7 @@ namespace RTC
// Pass the packet to the NackGenerator.
if (this->params.useNack)
{
auto isNackedPacket = this->nackGenerator->ReceivePacket(packet, /*isRecovered*/ false);

if (isNackedPacket)
if (this->nackGenerator->ReceivePacket(packet, /*isRecovered*/ false))
{
// If there is no RTX and NackGenerator returns true it means that it
// was a NACKed packet.
Expand Down

0 comments on commit 4bb2711

Please sign in to comment.