@@ -19,13 +19,13 @@
#ifndef H264PacketizationHandler_hpp
#define H264PacketizationHandler_hpp
+#if RTC_ENABLE_MEDIA
+
#include "rtcp.hpp"
#include "h264rtppacketizer.hpp"
#include "rtcpsenderreportable.hpp"
#include "nalunit.hpp"
-#if RTC_ENABLE_MEDIA
-
namespace rtc {
/// Handler for H264 packetization
@@ -19,10 +19,10 @@
#ifndef H264RTPPacketizer_hpp
#define H264RTPPacketizer_hpp
-#include "rtppacketizer.hpp"
#if RTC_ENABLE_MEDIA
+#include "rtppacketizer.hpp"
/// RTP packetization of h264 payload
#ifndef NalUnit_hpp
#define NalUnit_hpp
-#include "include.hpp"
+#include "include.hpp"
#pragma pack(push, 1)
@@ -19,12 +19,12 @@
#ifndef OpusPacketizationHandler_hpp
#define OpusPacketizationHandler_hpp
#include "opusrtppacketizer.hpp"
/// Handler for opus packetization
#ifndef OpusRTPPacketizer_hpp
#define OpusRTPPacketizer_hpp
/// RTP packetizer for opus
@@ -19,11 +19,11 @@
#ifndef RTCPSenderReporter_hpp
#define RTCPSenderReporter_hpp
#include "message.hpp"
#include "rtppacketizationconfig.hpp"
/// Class for sending RTCP SR
#ifndef RTPPacketizationConfig_hpp
#define RTPPacketizationConfig_hpp
-#include "rtp.hpp"
+#include "rtp.hpp"
/// RTP configuration used in packetization process
#ifndef RTPPacketizer_hpp
#define RTPPacketizer_hpp
/// Class responsizble for rtp packetization
@@ -16,10 +16,10 @@
* along with this program; If not, see <http://www.gnu.org/licenses/>.
*/
-#include "h264packetizationhandler.hpp"
+#include "h264packetizationhandler.hpp"
using namespace rtc;
using namespace std;
-#include "h264rtppacketizer.hpp"
+#include "h264rtppacketizer.hpp"
@@ -16,11 +16,11 @@
#include <cmath>
-#include "opuspacketizationhandler.hpp"
+#include "opuspacketizationhandler.hpp"
OpusPacketizationHandler::OpusPacketizationHandler(std::shared_ptr<OpusRTPPacketizer> packetizer): RtcpHandler(), RTCPSenderReportable(packetizer->rtpConfig), packetizer(packetizer) {
-#include "opusrtppacketizer.hpp"
+#include "opusrtppacketizer.hpp"
-#include "rtcpsenderreportable.hpp"
+#include "rtcpsenderreportable.hpp"
-#include "rtppacketizationconfig.hpp"
+#include "rtppacketizationconfig.hpp"