Skip to content

Commit

Permalink
Merge pull request #965 from paullouisageneau/fix-h264rtppacketizer-p…
Browse files Browse the repository at this point in the history
…rivate-separator

Fix H264RtpPacketizer::Separator made private by #932
  • Loading branch information
paullouisageneau authored Sep 5, 2023
2 parents 51a6d6a + a314dac commit 1a669d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion include/rtc/h264rtppacketizer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ class RTC_CPP_EXPORT H264RtpPacketizer final : public RtpPacketizer,
shared_ptr<NalUnits> splitMessage(binary_ptr message);
const uint16_t maximumFragmentSize;

public:
using Separator = NalUnit::Separator;

public:
/// Default clock rate for H264 in RTP
inline static const uint32_t defaultClockRate = 90 * 1000;

Expand Down
2 changes: 2 additions & 0 deletions include/rtc/h265rtppacketizer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ class RTC_CPP_EXPORT H265RtpPacketizer final : public RtpPacketizer,
const uint16_t maximumFragmentSize;

public:
using Separator = NalUnit::Separator;

/// Default clock rate for H265 in RTP
inline static const uint32_t defaultClockRate = 90 * 1000;

Expand Down

0 comments on commit 1a669d0

Please sign in to comment.