mirror of
https://github.com/mii443/libdatachannel.git
synced 2025-09-01 14:49:25 +00:00
Move guard before includes
This commit is contained in:
@ -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"
|
||||
|
||||
namespace rtc {
|
||||
|
||||
/// RTP packetization of h264 payload
|
||||
|
@ -19,10 +19,10 @@
|
||||
#ifndef NalUnit_hpp
|
||||
#define NalUnit_hpp
|
||||
|
||||
#include "include.hpp"
|
||||
|
||||
#if RTC_ENABLE_MEDIA
|
||||
|
||||
#include "include.hpp"
|
||||
|
||||
namespace rtc {
|
||||
|
||||
#pragma pack(push, 1)
|
||||
|
@ -19,12 +19,12 @@
|
||||
#ifndef OpusPacketizationHandler_hpp
|
||||
#define OpusPacketizationHandler_hpp
|
||||
|
||||
#if RTC_ENABLE_MEDIA
|
||||
|
||||
#include "rtcpsenderreportable.hpp"
|
||||
#include "opusrtppacketizer.hpp"
|
||||
#include "rtcp.hpp"
|
||||
|
||||
#if RTC_ENABLE_MEDIA
|
||||
|
||||
namespace rtc {
|
||||
|
||||
/// Handler for opus packetization
|
||||
|
@ -19,10 +19,10 @@
|
||||
#ifndef OpusRTPPacketizer_hpp
|
||||
#define OpusRTPPacketizer_hpp
|
||||
|
||||
#include "rtppacketizer.hpp"
|
||||
|
||||
#if RTC_ENABLE_MEDIA
|
||||
|
||||
#include "rtppacketizer.hpp"
|
||||
|
||||
namespace rtc {
|
||||
|
||||
/// RTP packetizer for opus
|
||||
|
@ -19,11 +19,11 @@
|
||||
#ifndef RTCPSenderReporter_hpp
|
||||
#define RTCPSenderReporter_hpp
|
||||
|
||||
#if RTC_ENABLE_MEDIA
|
||||
|
||||
#include "message.hpp"
|
||||
#include "rtppacketizationconfig.hpp"
|
||||
|
||||
#if RTC_ENABLE_MEDIA
|
||||
|
||||
namespace rtc {
|
||||
|
||||
/// Class for sending RTCP SR
|
||||
|
@ -19,10 +19,10 @@
|
||||
#ifndef RTPPacketizationConfig_hpp
|
||||
#define RTPPacketizationConfig_hpp
|
||||
|
||||
#include "rtp.hpp"
|
||||
|
||||
#if RTC_ENABLE_MEDIA
|
||||
|
||||
#include "rtp.hpp"
|
||||
|
||||
namespace rtc {
|
||||
|
||||
/// RTP configuration used in packetization process
|
||||
|
@ -19,11 +19,11 @@
|
||||
#ifndef RTPPacketizer_hpp
|
||||
#define RTPPacketizer_hpp
|
||||
|
||||
#if RTC_ENABLE_MEDIA
|
||||
|
||||
#include "rtppacketizationconfig.hpp"
|
||||
#include "message.hpp"
|
||||
|
||||
#if RTC_ENABLE_MEDIA
|
||||
|
||||
namespace rtc {
|
||||
|
||||
/// Class responsizble for rtp packetization
|
||||
|
@ -16,10 +16,10 @@
|
||||
* along with this program; If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "h264packetizationhandler.hpp"
|
||||
|
||||
#if RTC_ENABLE_MEDIA
|
||||
|
||||
#include "h264packetizationhandler.hpp"
|
||||
|
||||
using namespace rtc;
|
||||
using namespace std;
|
||||
|
||||
|
@ -16,10 +16,10 @@
|
||||
* along with this program; If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "h264rtppacketizer.hpp"
|
||||
|
||||
#if RTC_ENABLE_MEDIA
|
||||
|
||||
#include "h264rtppacketizer.hpp"
|
||||
|
||||
using namespace std;
|
||||
using namespace rtc;
|
||||
|
||||
|
@ -16,11 +16,11 @@
|
||||
* along with this program; If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#if RTC_ENABLE_MEDIA
|
||||
|
||||
#include "nalunit.hpp"
|
||||
#include <cmath>
|
||||
|
||||
#if RTC_ENABLE_MEDIA
|
||||
|
||||
using namespace std;
|
||||
using namespace rtc;
|
||||
|
||||
|
@ -16,10 +16,10 @@
|
||||
* along with this program; If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "opuspacketizationhandler.hpp"
|
||||
|
||||
#if RTC_ENABLE_MEDIA
|
||||
|
||||
#include "opuspacketizationhandler.hpp"
|
||||
|
||||
using namespace rtc;
|
||||
|
||||
OpusPacketizationHandler::OpusPacketizationHandler(std::shared_ptr<OpusRTPPacketizer> packetizer): RtcpHandler(), RTCPSenderReportable(packetizer->rtpConfig), packetizer(packetizer) {
|
||||
|
@ -16,10 +16,10 @@
|
||||
* along with this program; If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "opusrtppacketizer.hpp"
|
||||
|
||||
#if RTC_ENABLE_MEDIA
|
||||
|
||||
#include "opusrtppacketizer.hpp"
|
||||
|
||||
using namespace std;
|
||||
using namespace rtc;
|
||||
|
||||
|
@ -16,10 +16,10 @@
|
||||
* along with this program; If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "rtcpsenderreportable.hpp"
|
||||
|
||||
#if RTC_ENABLE_MEDIA
|
||||
|
||||
#include "rtcpsenderreportable.hpp"
|
||||
|
||||
using namespace rtc;
|
||||
using namespace std;
|
||||
|
||||
|
@ -16,10 +16,10 @@
|
||||
* along with this program; If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "rtppacketizationconfig.hpp"
|
||||
|
||||
#if RTC_ENABLE_MEDIA
|
||||
|
||||
#include "rtppacketizationconfig.hpp"
|
||||
|
||||
using namespace rtc;
|
||||
using namespace std;
|
||||
|
||||
|
@ -16,10 +16,10 @@
|
||||
* along with this program; If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "rtppacketizer.hpp"
|
||||
|
||||
#if RTC_ENABLE_MEDIA
|
||||
|
||||
#include "rtppacketizer.hpp"
|
||||
|
||||
using namespace std;
|
||||
using namespace rtc;
|
||||
|
||||
|
Reference in New Issue
Block a user