Skip to content

Commit

Permalink
Changed header size
Browse files Browse the repository at this point in the history
  • Loading branch information
sbarrac authored Apr 19, 2024
1 parent d6e352f commit c281c46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rtppacketizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ message_ptr RtpPacketizer::packetize(shared_ptr<binary> payload, bool mark) {
const bool setPlayoutDelay = (rtpConfig->playoutDelayId > 0 && rtpConfig->playoutDelayId < 15);

if (setPlayoutDelay)
rtpExtHeaderSize += 1;
rtpExtHeaderSize += 4;

if (rtpConfig->mid.has_value())
rtpExtHeaderSize += (1 + rtpConfig->mid->length());
Expand Down

0 comments on commit c281c46

Please sign in to comment.