Skip to content

Commit c281c46

Browse files
authored
Changed header size
1 parent d6e352f commit c281c46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rtppacketizer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ message_ptr RtpPacketizer::packetize(shared_ptr<binary> payload, bool mark) {
3434
const bool setPlayoutDelay = (rtpConfig->playoutDelayId > 0 && rtpConfig->playoutDelayId < 15);
3535

3636
if (setPlayoutDelay)
37-
rtpExtHeaderSize += 1;
37+
rtpExtHeaderSize += 4;
3838

3939
if (rtpConfig->mid.has_value())
4040
rtpExtHeaderSize += (1 + rtpConfig->mid->length());

0 commit comments

Comments
 (0)