Skip to content

Commit

Permalink
cosmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
ibc authored and piranna committed Feb 8, 2023
1 parent b232217 commit 899db12
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions worker/src/RTC/SimulcastConsumer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -779,8 +779,7 @@ namespace RTC
static const uint8_t MsOffset{ 33u }; // (1 / 30 * 1000).

int64_t maxTsExtraOffset = MaxExtraOffsetMs * this->rtpStream->GetClockRate() / 1000;

uint32_t tsExtraOffset = this->rtpStream->GetMaxPacketTs() - packet->GetTimestamp() +
uint32_t tsExtraOffset = this->rtpStream->GetMaxPacketTs() - packet->GetTimestamp() +
tsOffset + MsOffset * this->rtpStream->GetClockRate() / 1000;

// NOTE: Don't ask for a key frame if already done.
Expand Down

0 comments on commit 899db12

Please sign in to comment.