Skip to content

Commit

Permalink
Fix uninitialized playout delay fields in RtpPacketizationConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
paullouisageneau committed Jun 20, 2024
1 parent 898bdff commit 5334c4e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/rtc/rtppacketizationconfig.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ class RTC_CPP_EXPORT RtpPacketizationConfig {

// the negotiated ID of the playout delay header extension
// https://webrtc.googlesource.com/src/+/main/docs/native-code/rtp-hdrext/playout-delay/README.md
uint8_t playoutDelayId;
uint8_t playoutDelayId = 0;

// Minimum/maxiumum playout delay, in 10ms intervals. A value of 10 would equal a 100ms delay
uint16_t playoutDelayMin;
uint16_t playoutDelayMax;
uint16_t playoutDelayMin = 0;
uint16_t playoutDelayMax = 0;

/// Construct RTP configuration used in packetization process
/// @param ssrc SSRC of source
Expand Down

0 comments on commit 5334c4e

Please sign in to comment.