From a314dac67c033758c356ba32271fa3c89bd698e3 Mon Sep 17 00:00:00 2001 From: Paul-Louis Ageneau Date: Wed, 6 Sep 2023 00:17:20 +0200 Subject: [PATCH] Fixed H264RtpPacketizer:Separator made private --- include/rtc/h264rtppacketizer.hpp | 2 +- include/rtc/h265rtppacketizer.hpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/rtc/h264rtppacketizer.hpp b/include/rtc/h264rtppacketizer.hpp index 182492ead..63f01e981 100644 --- a/include/rtc/h264rtppacketizer.hpp +++ b/include/rtc/h264rtppacketizer.hpp @@ -23,9 +23,9 @@ class RTC_CPP_EXPORT H264RtpPacketizer final : public RtpPacketizer, shared_ptr 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; diff --git a/include/rtc/h265rtppacketizer.hpp b/include/rtc/h265rtppacketizer.hpp index e34a3531d..02e68692d 100644 --- a/include/rtc/h265rtppacketizer.hpp +++ b/include/rtc/h265rtppacketizer.hpp @@ -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;