添加bom头

This commit is contained in:
ziyue 2021-04-06 17:23:13 +08:00
parent 50ca789c0c
commit 8edd093d68
14 changed files with 18 additions and 15 deletions

View File

@ -1,4 +1,4 @@
#define MS_CLASS "RTC::DtlsTransport" #define MS_CLASS "RTC::DtlsTransport"
// #define MS_LOG_DEV_LEVEL 3 // #define MS_LOG_DEV_LEVEL 3
#include "DtlsTransport.hpp" #include "DtlsTransport.hpp"

View File

@ -1,4 +1,4 @@
#ifndef MS_RTC_DTLS_TRANSPORT_HPP #ifndef MS_RTC_DTLS_TRANSPORT_HPP
#define MS_RTC_DTLS_TRANSPORT_HPP #define MS_RTC_DTLS_TRANSPORT_HPP
#include "SrtpSession.hpp" #include "SrtpSession.hpp"

View File

@ -1,4 +1,4 @@
#define MS_CLASS "RTC::IceServer" #define MS_CLASS "RTC::IceServer"
// #define MS_LOG_DEV_LEVEL 3 // #define MS_LOG_DEV_LEVEL 3
#include <utility> #include <utility>

View File

@ -1,16 +1,19 @@
#ifndef MS_RTC_ICE_SERVER_HPP #ifndef MS_RTC_ICE_SERVER_HPP
#define MS_RTC_ICE_SERVER_HPP #define MS_RTC_ICE_SERVER_HPP
#include "StunPacket.hpp" #include "StunPacket.hpp"
#include "logger.h" #include "logger.h"
#include "Utils.hpp"
#include <list> #include <list>
#include <string> #include <string>
#include <functional> #include <functional>
#include <memory> #include <memory>
using _TransportTuple = struct sockaddr;
namespace RTC namespace RTC
{ {
using TransportTuple = struct sockaddr; using TransportTuple = _TransportTuple;
class IceServer class IceServer
{ {
public: public:

View File

@ -1,4 +1,4 @@
// //
// Created by xzl on 2021/3/27. // Created by xzl on 2021/3/27.
// //

View File

@ -1,4 +1,4 @@
// //
// Created by xzl on 2021/3/27. // Created by xzl on 2021/3/27.
// //

View File

@ -1,4 +1,4 @@
#define MS_CLASS "RTC::SrtpSession" #define MS_CLASS "RTC::SrtpSession"
// #define MS_LOG_DEV_LEVEL 3 // #define MS_LOG_DEV_LEVEL 3
#include "SrtpSession.hpp" #include "SrtpSession.hpp"

View File

@ -1,4 +1,4 @@
#ifndef MS_RTC_SRTP_SESSION_HPP #ifndef MS_RTC_SRTP_SESSION_HPP
#define MS_RTC_SRTP_SESSION_HPP #define MS_RTC_SRTP_SESSION_HPP
#include "Utils.hpp" #include "Utils.hpp"

View File

@ -1,4 +1,4 @@
#define MS_CLASS "RTC::StunPacket" #define MS_CLASS "RTC::StunPacket"
// #define MS_LOG_DEV_LEVEL 3 // #define MS_LOG_DEV_LEVEL 3
#include "StunPacket.hpp" #include "StunPacket.hpp"

View File

@ -1,4 +1,4 @@
#ifndef MS_RTC_STUN_PACKET_HPP #ifndef MS_RTC_STUN_PACKET_HPP
#define MS_RTC_STUN_PACKET_HPP #define MS_RTC_STUN_PACKET_HPP

View File

@ -1,4 +1,4 @@
#ifndef MS_UTILS_HPP #ifndef MS_UTILS_HPP
#define MS_UTILS_HPP #define MS_UTILS_HPP
#if defined(_WIN32) #if defined(_WIN32)

View File

@ -1,4 +1,4 @@
#include "WebRtcTransport.h" #include "WebRtcTransport.h"
#include <iostream> #include <iostream>
#include "Rtcp/Rtcp.h" #include "Rtcp/Rtcp.h"
#include "Rtsp/RtpReceiver.h" #include "Rtsp/RtpReceiver.h"

View File

@ -1,4 +1,4 @@
#pragma once #pragma once
#include <memory> #include <memory>
#include <string> #include <string>

View File

@ -1,4 +1,4 @@
#pragma once #pragma once
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>