提交 9462313d authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Rename .h files to .hpp

上级 61476d22
...@@ -19,7 +19,7 @@ Builds the production ready mediasoup worker binary at `worker/out/Release/`. Th ...@@ -19,7 +19,7 @@ Builds the production ready mediasoup worker binary at `worker/out/Release/`. Th
Builds a more verbose and non optimized mediasoup worker binary at `worker/out/Debug/` with some C flags enabled (such as `-O0`) and some macros defined (such as `DEBUG` and `MS_LOG_FILE_LINE`). Builds a more verbose and non optimized mediasoup worker binary at `worker/out/Debug/` with some C flags enabled (such as `-O0`) and some macros defined (such as `DEBUG` and `MS_LOG_FILE_LINE`).
Check the meaning of these macros in the [Logger.h](worker/include/Logger.h) header file. Check the meaning of these macros in the [Logger.hpp](worker/include/Logger.hpp) header file.
In order to instruct the **mediasoup** Node.js module to use the `Debug` mediasoup worker binary, an environment variable must be set before running the Node.js application: In order to instruct the **mediasoup** Node.js module to use the `Debug` mediasoup worker binary, an environment variable must be set before running the Node.js application:
......
#ifndef MS_CHANNEL_NOTIFIER_H #ifndef MS_CHANNEL_NOTIFIER_HPP
#define MS_CHANNEL_NOTIFIER_H #define MS_CHANNEL_NOTIFIER_HPP
#include "common.h" #include "common.hpp"
#include "Channel/UnixStreamSocket.h" #include "Channel/UnixStreamSocket.hpp"
#include <string> #include <string>
#include <json/json.h> #include <json/json.h>
......
#ifndef MS_CHANNEL_REQUEST_H #ifndef MS_CHANNEL_REQUEST_HPP
#define MS_CHANNEL_REQUEST_H #define MS_CHANNEL_REQUEST_HPP
#include "common.h" #include "common.hpp"
#include <string> #include <string>
#include <unordered_map> #include <unordered_map>
#include <json/json.h> #include <json/json.h>
......
#ifndef MS_CHANNEL_UNIX_STREAM_SOCKET_H #ifndef MS_CHANNEL_UNIX_STREAM_SOCKET_HPP
#define MS_CHANNEL_UNIX_STREAM_SOCKET_H #define MS_CHANNEL_UNIX_STREAM_SOCKET_HPP
#include "common.h" #include "common.hpp"
#include "handles/UnixStreamSocket.h" #include "handles/UnixStreamSocket.hpp"
#include "Channel/Request.h" #include "Channel/Request.hpp"
#include <json/json.h> #include <json/json.h>
namespace Channel namespace Channel
......
#ifndef MS_DEP_LIBSRTP_H #ifndef MS_DEP_LIBSRTP_HPP
#define MS_DEP_LIBSRTP_H #define MS_DEP_LIBSRTP_HPP
#include <vector> #include <vector>
#include <srtp.h> #include <srtp.h>
......
#ifndef MS_DEP_LIBUV_H #ifndef MS_DEP_LIBUV_HPP
#define MS_DEP_LIBUV_H #define MS_DEP_LIBUV_HPP
#include "common.h" #include "common.hpp"
#include <uv.h> #include <uv.h>
class DepLibUV class DepLibUV
......
#ifndef MS_DEP_OPENSSL_H #ifndef MS_DEP_OPENSSL_HPP
#define MS_DEP_OPENSSL_H #define MS_DEP_OPENSSL_HPP
#include "common.h" #include "common.hpp"
#include <openssl/ssl.h> #include <openssl/ssl.h>
#include <openssl/crypto.h> #include <openssl/crypto.h>
#include <uv.h> #include <uv.h>
......
#ifndef MS_LOG_LEVEL_H #ifndef MS_LOG_LEVEL_HPP
#define MS_LOG_LEVEL_H #define MS_LOG_LEVEL_HPP
#include "common.h" #include "common.hpp"
enum class LogLevel : uint8_t enum class LogLevel : uint8_t
{ {
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
* Logger facility. * Logger facility.
* *
* This include file defines logging macros for source files (.cpp). Each * This include file defines logging macros for source files (.cpp). Each
* source file including Logger.h MUST define its own MS_CLASS macro. Include * source file including Logger.hpp MUST define its own MS_CLASS macro. Include
* files (.h) MUST NOT include Logger.h. * files (.h) MUST NOT include Logger.hpp.
* *
* All the logging macros use the same format as printf(). The XXX_STD version * All the logging macros use the same format as printf(). The XXX_STD version
* of a macro logs to stdoud/stderr instead of using the Channel instance. * of a macro logs to stdoud/stderr instead of using the Channel instance.
...@@ -53,13 +53,12 @@ ...@@ -53,13 +53,12 @@
* If the condition is not satisfied, it calls MS_ABORT(). * If the condition is not satisfied, it calls MS_ABORT().
*/ */
#ifndef MS_LOGGER_H #ifndef MS_LOGGER_HPP
#define MS_LOGGER_H #define MS_LOGGER_HPP
#include "LogLevel.h" #include "LogLevel.hpp"
#include "Settings.h" #include "Settings.hpp"
#include "handles/UnixStreamSocket.h" #include "Channel/UnixStreamSocket.hpp"
#include "Channel/UnixStreamSocket.h"
#include <string> #include <string>
#include <cstdio> // std::snprintf(), std::fprintf(), stdout, stderr #include <cstdio> // std::snprintf(), std::fprintf(), stdout, stderr
#include <cstring> #include <cstring>
......
#ifndef MS_WORKER_H #ifndef MS_LOOP_HPP
#define MS_WORKER_H #define MS_LOOP_HPP
#include "common.h" #include "common.hpp"
#include "handles/SignalsHandler.h" #include "handles/SignalsHandler.hpp"
#include "Channel/UnixStreamSocket.h" #include "Channel/UnixStreamSocket.hpp"
#include "Channel/Request.h" #include "Channel/Request.hpp"
#include "Channel/Notifier.h" #include "Channel/Notifier.hpp"
#include "RTC/Room.h" #include "RTC/Room.hpp"
#include <unordered_map> #include <unordered_map>
class Loop : class Loop :
......
#ifndef MS_MEDIASOUP_ERROR_H #ifndef MS_MEDIASOUP_ERROR_HPP
#define MS_MEDIASOUP_ERROR_H #define MS_MEDIASOUP_ERROR_HPP
#include "Logger.h" #include "Logger.hpp"
#include <stdexcept> #include <stdexcept>
#include <string> #include <string>
#include <cstdio> // std::snprintf #include <cstdio> // std::snprintf
......
#ifndef MS_RTC_DTLS_TRANSPORT_H #ifndef MS_RTC_DTLS_TRANSPORT_HPP
#define MS_RTC_DTLS_TRANSPORT_H #define MS_RTC_DTLS_TRANSPORT_HPP
#include "common.h" #include "common.hpp"
#include "RTC/SrtpSession.h" #include "RTC/SrtpSession.hpp"
#include "handles/Timer.h" #include "handles/Timer.hpp"
#include <string> #include <string>
#include <map> #include <map>
#include <vector> #include <vector>
......
#ifndef MS_RTC_ICE_CANDIDATE_H #ifndef MS_RTC_ICE_CANDIDATE_HPP
#define MS_RTC_ICE_CANDIDATE_H #define MS_RTC_ICE_CANDIDATE_HPP
#include "common.h" #include "common.hpp"
#include "RTC/UdpSocket.h" #include "RTC/UdpSocket.hpp"
#include "RTC/TcpServer.h" #include "RTC/TcpServer.hpp"
#include <string> #include <string>
#include <json/json.h> #include <json/json.h>
......
#ifndef MS_RTC_Ice_SERVER_H #ifndef MS_RTC_ICE_SERVER_HPP
#define MS_RTC_Ice_SERVER_H #define MS_RTC_ICE_SERVER_HPP
#include "common.h" #include "common.hpp"
#include "RTC/StunMessage.h" #include "RTC/StunMessage.hpp"
#include "RTC/TransportTuple.h" #include "RTC/TransportTuple.hpp"
#include <string> #include <string>
#include <list> #include <list>
......
#ifndef MS_RTC_PARAMETERS_H #ifndef MS_RTC_PARAMETERS_HPP
#define MS_RTC_PARAMETERS_H #define MS_RTC_PARAMETERS_HPP
#include "common.h" #include "common.hpp"
#include <string> #include <string>
#include <vector> #include <vector>
#include <unordered_map> #include <unordered_map>
......
#ifndef MS_RTC_PEER_H #ifndef MS_RTC_PEER_HPP
#define MS_RTC_PEER_H #define MS_RTC_PEER_HPP
#include "common.h" #include "common.hpp"
#include "RTC/Transport.h" #include "RTC/Transport.hpp"
#include "RTC/RtpReceiver.h" #include "RTC/RtpReceiver.hpp"
#include "RTC/RtpSender.h" #include "RTC/RtpSender.hpp"
#include "RTC/RtpDictionaries.h" #include "RTC/RtpDictionaries.hpp"
#include "RTC/RtpPacket.h" #include "RTC/RtpPacket.hpp"
#include "RTC/RTCP/ReceiverReport.h" #include "RTC/RTCP/ReceiverReport.hpp"
#include "RTC/RTCP/SenderReport.h" #include "RTC/RTCP/SenderReport.hpp"
#include "RTC/RTCP/Feedback.h" #include "RTC/RTCP/Feedback.hpp"
#include "RTC/RTCP/Sdes.h" #include "RTC/RTCP/Sdes.hpp"
#include "Channel/Request.h" #include "Channel/Request.hpp"
#include "Channel/Notifier.h" #include "Channel/Notifier.hpp"
#include "handles/Timer.h" #include "handles/Timer.hpp"
#include <string> #include <string>
#include <unordered_map> #include <unordered_map>
#include <vector> #include <vector>
......
#ifndef MS_RTC_RTCP_BYE_H #ifndef MS_RTC_RTCP_BYE_HPP
#define MS_RTC_RTCP_BYE_H #define MS_RTC_RTCP_BYE_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/Packet.h" #include "RTC/RTCP/Packet.hpp"
#include <vector> #include <vector>
#include <string> #include <string>
......
#ifndef MS_RTC_RTCP_COMPOUND_PACKET_H #ifndef MS_RTC_RTCP_COMPOUND_PACKET_HPP
#define MS_RTC_RTCP_COMPOUND_PACKET_H #define MS_RTC_RTCP_COMPOUND_PACKET_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/SenderReport.h" #include "RTC/RTCP/SenderReport.hpp"
#include "RTC/RTCP/ReceiverReport.h" #include "RTC/RTCP/ReceiverReport.hpp"
#include "RTC/RTCP/Sdes.h" #include "RTC/RTCP/Sdes.hpp"
#include <vector> #include <vector>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#ifndef MS_RTC_RTCP_FEEDBACK_H #ifndef MS_RTC_RTCP_FEEDBACK_HPP
#define MS_RTC_RTCP_FEEDBACK_H #define MS_RTC_RTCP_FEEDBACK_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/Packet.h" #include "RTC/RTCP/Packet.hpp"
#include "RTC/RTCP/FeedbackItem.h" #include "RTC/RTCP/FeedbackItem.hpp"
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
{ {
......
#ifndef MS_RTC_RTCP_FEEDBACK_ITEM_H #ifndef MS_RTC_RTCP_FEEDBACK_ITEM_HPP
#define MS_RTC_RTCP_FEEDBACK_ITEM_H #define MS_RTC_RTCP_FEEDBACK_ITEM_HPP
#include "common.h" #include "common.hpp"
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
{ {
......
#ifndef MS_RTC_RTCP_FEEDBACK_PS_H #ifndef MS_RTC_RTCP_FEEDBACK_PS_HPP
#define MS_RTC_RTCP_FEEDBACK_PS_H #define MS_RTC_RTCP_FEEDBACK_PS_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/Feedback.h" #include "RTC/RTCP/Feedback.hpp"
#include <vector> #include <vector>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#ifndef MS_RTC_RTCP_FEEDBACK_AFB_H #ifndef MS_RTC_RTCP_FEEDBACK_AFB_HPP
#define MS_RTC_RTCP_FEEDBACK_AFB_H #define MS_RTC_RTCP_FEEDBACK_AFB_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/Feedback.h" #include "RTC/RTCP/Feedback.hpp"
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
{ {
......
#ifndef MS_RTC_RTCP_FEEDBACK_FIR_H #ifndef MS_RTC_RTCP_FEEDBACK_FIR_HPP
#define MS_RTC_RTCP_FEEDBACK_FIR_H #define MS_RTC_RTCP_FEEDBACK_FIR_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/FeedbackPs.h" #include "RTC/RTCP/FeedbackPs.hpp"
/* RFC 5104 /* RFC 5104
* Full Intra Request (FIR) * Full Intra Request (FIR)
......
#ifndef MS_RTC_RTCP_FEEDBACK_PSLEI_H #ifndef MS_RTC_RTCP_FEEDBACK_PSLEI_HPP
#define MS_RTC_RTCP_FEEDBACK_PSLEI_H #define MS_RTC_RTCP_FEEDBACK_PSLEI_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/FeedbackPs.h" #include "RTC/RTCP/FeedbackPs.hpp"
/* RFC 6642 /* RFC 6642
* Payload-Specific Third-Party Loss Early Indication (PSLEI) * Payload-Specific Third-Party Loss Early Indication (PSLEI)
......
#ifndef MS_RTC_RTCP_FEEDBACK_PLI_H #ifndef MS_RTC_RTCP_FEEDBACK_PLI_HPP
#define MS_RTC_RTCP_FEEDBACK_PLI_H #define MS_RTC_RTCP_FEEDBACK_PLI_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/Feedback.h" #include "RTC/RTCP/Feedback.hpp"
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
{ {
......
#ifndef MS_RTC_RTCP_FEEDBACK_RPSI_H #ifndef MS_RTC_RTCP_FEEDBACK_RPSI_HPP
#define MS_RTC_RTCP_FEEDBACK_RPSI_H #define MS_RTC_RTCP_FEEDBACK_RPSI_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/FeedbackPs.h" #include "RTC/RTCP/FeedbackPs.hpp"
/* RFC 4585 /* RFC 4585
* Reference Picture Selection Indication (RPSI) * Reference Picture Selection Indication (RPSI)
......
#ifndef MS_RTC_RTCP_FEEDBACK_SLI_H #ifndef MS_RTC_RTCP_FEEDBACK_SLI_HPP
#define MS_RTC_RTCP_FEEDBACK_SLI_H #define MS_RTC_RTCP_FEEDBACK_SLI_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/FeedbackPs.h" #include "RTC/RTCP/FeedbackPs.hpp"
/* RFC 4585 /* RFC 4585
* Slice Loss Indication (SLI) * Slice Loss Indication (SLI)
......
#ifndef MS_RTC_RTCP_FEEDBACK_TST_H #ifndef MS_RTC_RTCP_FEEDBACK_TST_HPP
#define MS_RTC_RTCP_FEEDBACK_TST_H #define MS_RTC_RTCP_FEEDBACK_TST_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/FeedbackPs.h" #include "RTC/RTCP/FeedbackPs.hpp"
/* RFC 5104 /* RFC 5104
* Temporal-Spatial Trade-off Request (TSTR) * Temporal-Spatial Trade-off Request (TSTR)
......
#ifndef MS_RTC_RTCP_FEEDBACK_VBCM_H #ifndef MS_RTC_RTCP_FEEDBACK_VBCM_HPP
#define MS_RTC_RTCP_FEEDBACK_VBCM_H #define MS_RTC_RTCP_FEEDBACK_VBCM_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/FeedbackPs.h" #include "RTC/RTCP/FeedbackPs.hpp"
/* RFC 5104 /* RFC 5104
* H.271 Video Back Channel Message (VBCM) * H.271 Video Back Channel Message (VBCM)
......
#ifndef MS_RTC_RTCP_FEEDBACK_RTP_H #ifndef MS_RTC_RTCP_FEEDBACK_RTP_HPP
#define MS_RTC_RTCP_FEEDBACK_RTP_H #define MS_RTC_RTCP_FEEDBACK_RTP_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/Feedback.h" #include "RTC/RTCP/Feedback.hpp"
#include <vector> #include <vector>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#ifndef MS_RTC_RTCP_FEEDBACK_ECN_H #ifndef MS_RTC_RTCP_FEEDBACK_ECN_HPP
#define MS_RTC_RTCP_FEEDBACK_ECN_H #define MS_RTC_RTCP_FEEDBACK_ECN_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/FeedbackRtp.h" #include "RTC/RTCP/FeedbackRtp.hpp"
/* RFC 6679 /* RFC 6679
* Explicit Congestion Notification (ECN) for RTP over UDP * Explicit Congestion Notification (ECN) for RTP over UDP
......
#ifndef MS_RTC_RTCP_FEEDBACK_NACK_H #ifndef MS_RTC_RTCP_FEEDBACK_NACK_HPP
#define MS_RTC_RTCP_FEEDBACK_NACK_H #define MS_RTC_RTCP_FEEDBACK_NACK_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/FeedbackRtp.h" #include "RTC/RTCP/FeedbackRtp.hpp"
/* RFC 4585 /* RFC 4585
* Generic NACK message (NACK) * Generic NACK message (NACK)
......
#ifndef MS_RTC_RTCP_FEEDBACK_SR_REQ_H #ifndef MS_RTC_RTCP_FEEDBACK_SR_REQ_HPP
#define MS_RTC_RTCP_FEEDBACK_SR_REQ_H #define MS_RTC_RTCP_FEEDBACK_SR_REQ_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/Feedback.h" #include "RTC/RTCP/Feedback.hpp"
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
{ {
......
#ifndef MS_RTC_RTCP_FEEDBACK_TLLEI_H #ifndef MS_RTC_RTCP_FEEDBACK_TLLEI_HPP
#define MS_RTC_RTCP_FEEDBACK_TLLEI_H #define MS_RTC_RTCP_FEEDBACK_TLLEI_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/FeedbackRtp.h" #include "RTC/RTCP/FeedbackRtp.hpp"
/* RFC 4585 /* RFC 4585
* Transport-Layer Third-Party Loss Early Indication (TLLEI) * Transport-Layer Third-Party Loss Early Indication (TLLEI)
......
#ifndef MS_RTC_RTCP_FEEDBACK_TMMB_H #ifndef MS_RTC_RTCP_FEEDBACK_TMMB_HPP
#define MS_RTC_RTCP_FEEDBACK_TMMB_H #define MS_RTC_RTCP_FEEDBACK_TMMB_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/FeedbackRtp.h" #include "RTC/RTCP/FeedbackRtp.hpp"
/* RFC 5104 /* RFC 5104
* Temporary Maximum Media Stream Bit Rate Request (TMMBR) * Temporary Maximum Media Stream Bit Rate Request (TMMBR)
......
#ifndef MS_RTC_RTCP_PACKET_H #ifndef MS_RTC_RTCP_PACKET_HPP
#define MS_RTC_RTCP_PACKET_H #define MS_RTC_RTCP_PACKET_HPP
#include "common.h" #include "common.hpp"
#include <map> #include <map>
#include <string> #include <string>
......
#ifndef MS_RTC_RTCP_RECEIVER_REPORT_H #ifndef MS_RTC_RTCP_RECEIVER_REPORT_HPP
#define MS_RTC_RTCP_RECEIVER_REPORT_H #define MS_RTC_RTCP_RECEIVER_REPORT_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/Packet.h" #include "RTC/RTCP/Packet.hpp"
#include "Utils.h" #include "Utils.hpp"
#include <vector> #include <vector>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#ifndef MS_RTC_RTCP_SDES_H #ifndef MS_RTC_RTCP_SDES_HPP
#define MS_RTC_RTCP_SDES_H #define MS_RTC_RTCP_SDES_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/Packet.h" #include "RTC/RTCP/Packet.hpp"
#include <vector> #include <vector>
#include <map> #include <map>
#include <string> #include <string>
......
#ifndef MS_RTC_RTCP_SENDER_REPORT_H #ifndef MS_RTC_RTCP_SENDER_REPORT_HPP
#define MS_RTC_RTCP_SENDER_REPORT_H #define MS_RTC_RTCP_SENDER_REPORT_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RTCP/Packet.h" #include "RTC/RTCP/Packet.hpp"
#include <vector> #include <vector>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#ifndef MS_RTC_ROOM_H #ifndef MS_RTC_ROOM_HPP
#define MS_RTC_ROOM_H #define MS_RTC_ROOM_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RtpDictionaries.h" #include "RTC/RtpDictionaries.hpp"
#include "RTC/Peer.h" #include "RTC/Peer.hpp"
#include "RTC/RtpReceiver.h" #include "RTC/RtpReceiver.hpp"
#include "RTC/RtpSender.h" #include "RTC/RtpSender.hpp"
#include "RTC/RtpPacket.h" #include "RTC/RtpPacket.hpp"
#include "RTC/RTCP/ReceiverReport.h" #include "RTC/RTCP/ReceiverReport.hpp"
#include "RTC/RTCP/SenderReport.h" #include "RTC/RTCP/SenderReport.hpp"
#include "RTC/RTCP/Feedback.h" #include "RTC/RTCP/Feedback.hpp"
#include "RTC/RTCP/Sdes.h" #include "RTC/RTCP/Sdes.hpp"
#include "Channel/Request.h" #include "Channel/Request.hpp"
#include "Channel/Notifier.h" #include "Channel/Notifier.hpp"
#include <unordered_map> #include <unordered_map>
#include <unordered_set> #include <unordered_set>
#include <vector> #include <vector>
......
#ifndef MS_RTC_RTP_DATA_COUNTER_H #ifndef MS_RTC_RTP_DATA_COUNTER_HPP
#define MS_RTC_RTP_DATA_COUNTER_H #define MS_RTC_RTP_DATA_COUNTER_HPP
#include "common.h" #include "common.hpp"
#include "DepLibUV.h" #include "DepLibUV.hpp"
#include "RTC/RtpPacket.h" #include "RTC/RtpPacket.hpp"
namespace RTC namespace RTC
{ {
......
#ifndef MS_RTC_RTP_DICTIONARIES_H #ifndef MS_RTC_RTP_DICTIONARIES_HPP
#define MS_RTC_RTP_DICTIONARIES_H #define MS_RTC_RTP_DICTIONARIES_HPP
#include "common.h" #include "common.hpp"
#include "RTC/Parameters.h" #include "RTC/Parameters.hpp"
#include <string> #include <string>
#include <vector> #include <vector>
#include <unordered_map> #include <unordered_map>
......
#ifndef MS_RTC_LISTENER_H #ifndef MS_RTC_LISTENER_HPP
#define MS_RTC_LISTENER_H #define MS_RTC_LISTENER_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RtpReceiver.h" #include "RTC/RtpReceiver.hpp"
#include "RTC/RtpPacket.h" #include "RTC/RtpPacket.hpp"
#include <string> #include <string>
#include <vector> #include <vector>
#include <unordered_map> #include <unordered_map>
......
#ifndef MS_RTC_RTP_PACKET_H #ifndef MS_RTC_RTP_PACKET_HPP
#define MS_RTC_RTP_PACKET_H #define MS_RTC_RTP_PACKET_HPP
#include "common.h" #include "common.hpp"
#include <map> #include <map>
namespace RTC namespace RTC
......
#ifndef MS_RTC_RTP_RECEIVER_H #ifndef MS_RTC_RTP_RECEIVER_HPP
#define MS_RTC_RTP_RECEIVER_H #define MS_RTC_RTP_RECEIVER_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RtpDictionaries.h" #include "RTC/RtpDictionaries.hpp"
#include "RTC/RtpPacket.h" #include "RTC/RtpPacket.hpp"
#include "RTC/RtpStreamRecv.h" #include "RTC/RtpStreamRecv.hpp"
#include "RTC/RTCP/ReceiverReport.h" #include "RTC/RTCP/ReceiverReport.hpp"
#include "RTC/RTCP/Feedback.h" #include "RTC/RTCP/Feedback.hpp"
#include "RTC/RTCP/CompoundPacket.h" #include "RTC/RTCP/CompoundPacket.hpp"
#include "Channel/Request.h" #include "Channel/Request.hpp"
#include "Channel/Notifier.h" #include "Channel/Notifier.hpp"
#include <string> #include <string>
#include <json/json.h> #include <json/json.h>
......
#ifndef MS_RTC_RTP_SENDER_H #ifndef MS_RTC_RTP_SENDER_HPP
#define MS_RTC_RTP_SENDER_H #define MS_RTC_RTP_SENDER_HPP
#include "common.h" #include "common.hpp"
#include "RTC/Transport.h" #include "RTC/Transport.hpp"
#include "RTC/RtpStreamSend.h" #include "RTC/RtpStreamSend.hpp"
#include "RTC/RtpDictionaries.h" #include "RTC/RtpDictionaries.hpp"
#include "RTC/RtpPacket.h" #include "RTC/RtpPacket.hpp"
#include "RTC/RtpDataCounter.h" #include "RTC/RtpDataCounter.hpp"
#include "RTC/RTCP/Sdes.h" #include "RTC/RTCP/Sdes.hpp"
#include "RTC/RTCP/FeedbackRtpNack.h" #include "RTC/RTCP/FeedbackRtpNack.hpp"
#include "RTC/RTCP/CompoundPacket.h" #include "RTC/RTCP/CompoundPacket.hpp"
#include "Channel/Request.h" #include "Channel/Request.hpp"
#include "Channel/Notifier.h" #include "Channel/Notifier.hpp"
#include <unordered_set> #include <unordered_set>
#include <vector> #include <vector>
#include <json/json.h> #include <json/json.h>
......
#ifndef MS_RTC_RTP_STREAM_H #ifndef MS_RTC_RTP_STREAM_HPP
#define MS_RTC_RTP_STREAM_H #define MS_RTC_RTP_STREAM_HPP
#include "common.h" #include "common.hpp"
#include "RTC/RtpPacket.h" #include "RTC/RtpPacket.hpp"
namespace RTC namespace RTC
{ {
......
#ifndef MS_RTC_RTP_STREAM_RECV_H #ifndef MS_RTC_RTP_STREAM_RECV_HPP
#define MS_RTC_RTP_STREAM_RECV_H #define MS_RTC_RTP_STREAM_RECV_HPP
#include "RTC/RtpStream.h" #include "RTC/RtpStream.hpp"
#include "RTC/RTCP/ReceiverReport.h" #include "RTC/RTCP/ReceiverReport.hpp"
#include "RTC/RTCP/SenderReport.h" #include "RTC/RTCP/SenderReport.hpp"
namespace RTC namespace RTC
{ {
......
#ifndef MS_RTC_RTP_STREAM_SEND_H #ifndef MS_RTC_RTP_STREAM_SEND_HPP
#define MS_RTC_RTP_STREAM_SEND_H #define MS_RTC_RTP_STREAM_SEND_HPP
#include "RTC/RtpStream.h" #include "RTC/RtpStream.hpp"
#include "RTC/RTCP/SenderReport.h" #include "RTC/RTCP/SenderReport.hpp"
#include <vector> #include <vector>
#include <list> #include <list>
......
#ifndef MS_RTC_SRTP_SESSION_H #ifndef MS_RTC_SRTP_SESSION_HPP
#define MS_RTC_SRTP_SESSION_H #define MS_RTC_SRTP_SESSION_HPP
#include "common.h" #include "common.hpp"
#include <srtp.h> #include <srtp.h>
namespace RTC namespace RTC
......
#ifndef MS_RTC_STUN_MESSAGE_H #ifndef MS_RTC_STUN_MESSAGE_HPP
#define MS_RTC_STUN_MESSAGE_H #define MS_RTC_STUN_MESSAGE_HPP
#include "common.h" #include "common.hpp"
#include <string> #include <string>
namespace RTC namespace RTC
......
#ifndef MS_RTC_TCP_CONNECTION_H #ifndef MS_RTC_TCP_CONNECTION_HPP
#define MS_RTC_TCP_CONNECTION_H #define MS_RTC_TCP_CONNECTION_HPP
#include "common.h" #include "common.hpp"
#include "handles/TcpConnection.h" #include "handles/TcpConnection.hpp"
namespace RTC namespace RTC
{ {
......
#ifndef MS_RTC_TCP_SERVER_H #ifndef MS_RTC_TCP_SERVER_HPP
#define MS_RTC_TCP_SERVER_H #define MS_RTC_TCP_SERVER_HPP
#include "common.h" #include "common.hpp"
#include "handles/TcpServer.h" #include "handles/TcpServer.hpp"
#include "handles/TcpConnection.h" #include "handles/TcpConnection.hpp"
#include "RTC/TcpConnection.h" #include "RTC/TcpConnection.hpp"
#include <unordered_map> #include <unordered_map>
#include <uv.h> #include <uv.h>
......
#ifndef MS_RTC_TRANSPORT_H #ifndef MS_RTC_TRANSPORT_HPP
#define MS_RTC_TRANSPORT_H #define MS_RTC_TRANSPORT_HPP
#include "common.h" #include "common.hpp"
#include "RTC/UdpSocket.h" #include "RTC/UdpSocket.hpp"
#include "RTC/TcpServer.h" #include "RTC/TcpServer.hpp"
#include "RTC/TcpConnection.h" #include "RTC/TcpConnection.hpp"
#include "RTC/IceCandidate.h" #include "RTC/IceCandidate.hpp"
#include "RTC/IceServer.h" #include "RTC/IceServer.hpp"
#include "RTC/StunMessage.h" #include "RTC/StunMessage.hpp"
#include "RTC/TransportTuple.h" #include "RTC/TransportTuple.hpp"
#include "RTC/DtlsTransport.h" #include "RTC/DtlsTransport.hpp"
#include "RTC/SrtpSession.h" #include "RTC/SrtpSession.hpp"
#include "RTC/RtpListener.h" #include "RTC/RtpListener.hpp"
#include "RTC/RtpReceiver.h" #include "RTC/RtpReceiver.hpp"
#include "RTC/RtpPacket.h" #include "RTC/RtpPacket.hpp"
#include "RTC/RTCP/Packet.h" #include "RTC/RTCP/Packet.hpp"
#include "RTC/RTCP/CompoundPacket.h" #include "RTC/RTCP/CompoundPacket.hpp"
#include "Channel/Request.h" #include "Channel/Request.hpp"
#include "Channel/Notifier.h" #include "Channel/Notifier.hpp"
#include <string> #include <string>
#include <vector> #include <vector>
#include <json/json.h> #include <json/json.h>
......
#ifndef MS_RTC_TRANSPORT_TUPLE_H #ifndef MS_RTC_TRANSPORT_TUPLE_HPP
#define MS_RTC_TRANSPORT_TUPLE_H #define MS_RTC_TRANSPORT_TUPLE_HPP
#include "common.h" #include "common.hpp"
#include "RTC/UdpSocket.h" #include "RTC/UdpSocket.hpp"
#include "RTC/TcpConnection.h" #include "RTC/TcpConnection.hpp"
#include "Utils.h" #include "Utils.hpp"
#include <json/json.h> #include <json/json.h>
namespace RTC namespace RTC
......
#ifndef MS_RTC_UDP_SOCKET_H #ifndef MS_RTC_UDP_SOCKET_HPP
#define MS_RTC_UDP_SOCKET_H #define MS_RTC_UDP_SOCKET_HPP
#include "common.h" #include "common.hpp"
#include "handles/UdpSocket.h" #include "handles/UdpSocket.hpp"
#include <unordered_map> #include <unordered_map>
#include <uv.h> #include <uv.h>
......
#ifndef MS_SETTINGS_H #ifndef MS_SETTINGS_HPP
#define MS_SETTINGS_H #define MS_SETTINGS_HPP
#include "common.h" #include "common.hpp"
#include "LogLevel.h" #include "LogLevel.hpp"
#include "Channel/Request.h" #include "Channel/Request.hpp"
#include <map> #include <map>
#include <string> #include <string>
#include <vector> #include <vector>
......
#ifndef MS_UTILS_H #ifndef MS_UTILS_HPP
#define MS_UTILS_H #define MS_UTILS_HPP
#include "common.h" #include "common.hpp"
#include <string> #include <string>
#include <cstring> // std::memcmp(), std::memcpy() #include <cstring> // std::memcmp(), std::memcpy()
#include <openssl/hmac.h> #include <openssl/hmac.h>
......
#ifndef MS_COMMON_H #ifndef MS_COMMON_HPP
#define MS_COMMON_H #define MS_COMMON_HPP
#include <memory> // std::addressof() #include <memory> // std::addressof()
#include <algorithm> // std::transform(), std::find() #include <algorithm> // std::transform(), std::find()
......
#ifndef MS_SIGNALS_HANDLER_H #ifndef MS_SIGNALS_HANDLER_HPP
#define MS_SIGNALS_HANDLER_H #define MS_SIGNALS_HANDLER_HPP
#include <vector> #include <vector>
#include <string> #include <string>
......
#ifndef MS_TCP_CONNECTION_H #ifndef MS_TCP_CONNECTION_HPP
#define MS_TCP_CONNECTION_H #define MS_TCP_CONNECTION_HPP
#include "common.h" #include "common.hpp"
#include <string> #include <string>
#include <uv.h> #include <uv.h>
......
#ifndef MS_TCP_SERVER_H #ifndef MS_TCP_SERVER_HPP
#define MS_TCP_SERVER_H #define MS_TCP_SERVER_HPP
#include "common.h" #include "common.hpp"
#include "handles/TcpConnection.h" #include "handles/TcpConnection.hpp"
#include <string> #include <string>
#include <unordered_set> #include <unordered_set>
#include <uv.h> #include <uv.h>
......
#ifndef MS_TIMER_H #ifndef MS_TIMER_HPP
#define MS_TIMER_H #define MS_TIMER_HPP
#include "common.h" #include "common.hpp"
#include <uv.h> #include <uv.h>
class Timer class Timer
......
#ifndef MS_UDP_SOCKET_H #ifndef MS_UDP_SOCKET_HPP
#define MS_UDP_SOCKET_H #define MS_UDP_SOCKET_HPP
#include "common.h" #include "common.hpp"
#include <string> #include <string>
#include <uv.h> #include <uv.h>
......
#ifndef MS_UNIX_STREAM_SOCKET_H #ifndef MS_UNIX_STREAM_SOCKET_HPP
#define MS_UNIX_STREAM_SOCKET_H #define MS_UNIX_STREAM_SOCKET_HPP
#include "common.h" #include "common.hpp"
#include <string> #include <string>
#include <uv.h> #include <uv.h>
......
...@@ -86,70 +86,70 @@ ...@@ -86,70 +86,70 @@
'src/handles/UdpSocket.cpp', 'src/handles/UdpSocket.cpp',
'src/handles/UnixStreamSocket.cpp', 'src/handles/UnixStreamSocket.cpp',
# C++ include files # C++ include files
'include/DepLibSRTP.h', 'include/DepLibSRTP.hpp',
'include/DepLibUV.h', 'include/DepLibUV.hpp',
'include/DepOpenSSL.h', 'include/DepOpenSSL.hpp',
'include/LogLevel.h', 'include/LogLevel.hpp',
'include/Logger.h', 'include/Logger.hpp',
'include/Loop.h', 'include/Loop.hpp',
'include/MediaSoupError.h', 'include/MediaSoupError.hpp',
'include/Settings.h', 'include/Settings.hpp',
'include/Utils.h', 'include/Utils.hpp',
'include/common.h', 'include/common.hpp',
'include/Channel/Notifier.h', 'include/Channel/Notifier.hpp',
'include/Channel/Request.h', 'include/Channel/Request.hpp',
'include/Channel/UnixStreamSocket.h', 'include/Channel/UnixStreamSocket.hpp',
'include/RTC/DtlsTransport.h', 'include/RTC/DtlsTransport.hpp',
'include/RTC/IceCandidate.h', 'include/RTC/IceCandidate.hpp',
'include/RTC/IceServer.h', 'include/RTC/IceServer.hpp',
'include/RTC/Parameters.h', 'include/RTC/Parameters.hpp',
'include/RTC/Peer.h', 'include/RTC/Peer.hpp',
'include/RTC/Room.h', 'include/RTC/Room.hpp',
'include/RTC/RtpDictionaries.h', 'include/RTC/RtpDictionaries.hpp',
'include/RTC/RtpListener.h', 'include/RTC/RtpListener.hpp',
'include/RTC/RtpPacket.h', 'include/RTC/RtpPacket.hpp',
'include/RTC/RtpReceiver.h', 'include/RTC/RtpReceiver.hpp',
'include/RTC/RtpSender.h', 'include/RTC/RtpSender.hpp',
'include/RTC/RtpStream.h', 'include/RTC/RtpStream.hpp',
'include/RTC/RtpStreamRecv.h', 'include/RTC/RtpStreamRecv.hpp',
'include/RTC/RtpStreamSend.h', 'include/RTC/RtpStreamSend.hpp',
'include/RTC/RtpDataCounter.h', 'include/RTC/RtpDataCounter.hpp',
'include/RTC/SrtpSession.h', 'include/RTC/SrtpSession.hpp',
'include/RTC/StunMessage.h', 'include/RTC/StunMessage.hpp',
'include/RTC/TcpConnection.h', 'include/RTC/TcpConnection.hpp',
'include/RTC/TcpServer.h', 'include/RTC/TcpServer.hpp',
'include/RTC/Transport.h', 'include/RTC/Transport.hpp',
'include/RTC/TransportTuple.h', 'include/RTC/TransportTuple.hpp',
'include/RTC/UdpSocket.h', 'include/RTC/UdpSocket.hpp',
'include/RTC/RTCP/Packet.h', 'include/RTC/RTCP/Packet.hpp',
'include/RTC/RTCP/CompoundPacket.h', 'include/RTC/RTCP/CompoundPacket.hpp',
'include/RTC/RTCP/SenderReport.h', 'include/RTC/RTCP/SenderReport.hpp',
'include/RTC/RTCP/ReceiverReport.h', 'include/RTC/RTCP/ReceiverReport.hpp',
'include/RTC/RTCP/Sdes.h', 'include/RTC/RTCP/Sdes.hpp',
'include/RTC/RTCP/Bye.h', 'include/RTC/RTCP/Bye.hpp',
'include/RTC/RTCP/Feedback.h', 'include/RTC/RTCP/Feedback.hpp',
'include/RTC/RTCP/FeedbackItem.h', 'include/RTC/RTCP/FeedbackItem.hpp',
'include/RTC/RTCP/FeedbackPs.h', 'include/RTC/RTCP/FeedbackPs.hpp',
'include/RTC/RTCP/FeedbackRtp.h', 'include/RTC/RTCP/FeedbackRtp.hpp',
'include/RTC/RTCP/FeedbackRtpNack.h', 'include/RTC/RTCP/FeedbackRtpNack.hpp',
'include/RTC/RTCP/FeedbackRtpTmmb.h', 'include/RTC/RTCP/FeedbackRtpTmmb.hpp',
'include/RTC/RTCP/FeedbackRtpSrReq.h', 'include/RTC/RTCP/FeedbackRtpSrReq.hpp',
'include/RTC/RTCP/FeedbackRtpTllei.h', 'include/RTC/RTCP/FeedbackRtpTllei.hpp',
'include/RTC/RTCP/FeedbackRtpEcn.h', 'include/RTC/RTCP/FeedbackRtpEcn.hpp',
'include/RTC/RTCP/FeedbackPsPli.h', 'include/RTC/RTCP/FeedbackPsPli.hpp',
'include/RTC/RTCP/FeedbackPsSli.h', 'include/RTC/RTCP/FeedbackPsSli.hpp',
'include/RTC/RTCP/FeedbackPsRpsi.h', 'include/RTC/RTCP/FeedbackPsRpsi.hpp',
'include/RTC/RTCP/FeedbackPsFir.h', 'include/RTC/RTCP/FeedbackPsFir.hpp',
'include/RTC/RTCP/FeedbackPsTst.h', 'include/RTC/RTCP/FeedbackPsTst.hpp',
'include/RTC/RTCP/FeedbackPsVbcm.h', 'include/RTC/RTCP/FeedbackPsVbcm.hpp',
'include/RTC/RTCP/FeedbackPsLei.h', 'include/RTC/RTCP/FeedbackPsLei.hpp',
'include/RTC/RTCP/FeedbackPsAfb.h', 'include/RTC/RTCP/FeedbackPsAfb.hpp',
'include/handles/SignalsHandler.h', 'include/handles/SignalsHandler.hpp',
'include/handles/TcpConnection.h', 'include/handles/TcpConnection.hpp',
'include/handles/TcpServer.h', 'include/handles/TcpServer.hpp',
'include/handles/Timer.h', 'include/handles/Timer.hpp',
'include/handles/UdpSocket.h', 'include/handles/UdpSocket.hpp',
'include/handles/UnixStreamSocket.h' 'include/handles/UnixStreamSocket.hpp'
], ],
'include_dirs': 'include_dirs':
[ [
...@@ -241,7 +241,7 @@ ...@@ -241,7 +241,7 @@
'test/test-bitrate.cpp', 'test/test-bitrate.cpp',
# C++ include files # C++ include files
'test/catch.hpp', 'test/catch.hpp',
'test/helpers.h' 'test/helpers.hpp'
] ]
} }
] ]
......
...@@ -107,9 +107,9 @@ function get_catch() ...@@ -107,9 +107,9 @@ function get_catch()
get_dep "${GIT_REPO}" "${GIT_TAG}" "${DEST}" get_dep "${GIT_REPO}" "${GIT_TAG}" "${DEST}"
echo ">>> [INFO] copying include file to test2/ directory ..." echo ">>> [INFO] copying include file to test/ directory ..."
cd ${WORKER_PWD} cd ${WORKER_PWD}
cp ${DEST}/single_include/catch.hpp test2/ cp ${DEST}/single_include/catch.hpp test/
} }
case "${DEP}" in case "${DEP}" in
......
#define MS_CLASS "Channel::Notifier" #define MS_CLASS "Channel::Notifier"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "Channel/Notifier.h" #include "Channel/Notifier.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace Channel namespace Channel
{ {
......
#define MS_CLASS "Channel::Request" #define MS_CLASS "Channel::Request"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "Channel/Request.h" #include "Channel/Request.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace Channel namespace Channel
{ {
......
#define MS_CLASS "Channel::UnixStreamSocket" #define MS_CLASS "Channel::UnixStreamSocket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "Channel/UnixStreamSocket.h" #include "Channel/UnixStreamSocket.hpp"
#include "Logger.h" #include "Logger.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include <sstream> // std::ostringstream #include <sstream> // std::ostringstream
#include <cstring> // std::memmove() #include <cstring> // std::memmove()
#include <cmath> // std::ceil() #include <cmath> // std::ceil()
......
#define MS_CLASS "DepLibSRTP" #define MS_CLASS "DepLibSRTP"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "DepLibSRTP.h" #include "DepLibSRTP.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
/* Static variables. */ /* Static variables. */
......
#define MS_CLASS "DepLibUV" #define MS_CLASS "DepLibUV"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "DepLibUV.h" #include "DepLibUV.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstdlib> // std::abort() #include <cstdlib> // std::abort()
/* Static variables. */ /* Static variables. */
......
#define MS_CLASS "DepOpenSSL" #define MS_CLASS "DepOpenSSL"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "DepOpenSSL.h" #include "DepOpenSSL.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <openssl/err.h> #include <openssl/err.h>
#include <openssl/engine.h> // ENGINE_cleanup() #include <openssl/engine.h> // ENGINE_cleanup()
......
#define MS_CLASS "Logger" #define MS_CLASS "Logger"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "Logger.h" #include "Logger.hpp"
/* Class variables. */ /* Class variables. */
......
#define MS_CLASS "Loop" #define MS_CLASS "Loop"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "Loop.h" #include "Loop.hpp"
#include "DepLibUV.h" #include "DepLibUV.hpp"
#include "Settings.h" #include "Settings.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <string> #include <string>
#include <utility> // std::pair() #include <utility> // std::pair()
#include <cerrno> #include <cerrno>
......
#define MS_CLASS "RTC::DtlsTransport" #define MS_CLASS "RTC::DtlsTransport"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/DtlsTransport.h" #include "RTC/DtlsTransport.hpp"
#include "Settings.h" #include "Settings.hpp"
#include "Utils.h" #include "Utils.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <algorithm> // std::remove #include <algorithm> // std::remove
#include <cstdio> // std::sprintf(), std::fopen() #include <cstdio> // std::sprintf(), std::fopen()
#include <cstring> // std::memcpy(), std::strcmp() #include <cstring> // std::memcpy(), std::strcmp()
......
#define MS_CLASS "RTC::IceCandidate" #define MS_CLASS "RTC::IceCandidate"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/IceCandidate.h" #include "RTC/IceCandidate.hpp"
namespace RTC namespace RTC
{ {
......
#define MS_CLASS "RTC::IceServer" #define MS_CLASS "RTC::IceServer"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/IceServer.h" #include "RTC/IceServer.hpp"
#include "Logger.h" #include "Logger.hpp"
#define MS_STUN_SERIALIZE_BUFFER_SIZE 65536 #define MS_STUN_SERIALIZE_BUFFER_SIZE 65536
......
#define MS_CLASS "RTC::Peer" #define MS_CLASS "RTC::Peer"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/Peer.h" #include "RTC/Peer.hpp"
#include "RTC/RtpDictionaries.h" #include "RTC/RtpDictionaries.hpp"
#include "RTC/RTCP/CompoundPacket.h" #include "RTC/RTCP/CompoundPacket.hpp"
#include "RTC/RTCP/FeedbackRtpNack.h" #include "RTC/RTCP/FeedbackRtpNack.hpp"
#include "MediaSoupError.h" #include "MediaSoupError.hpp"
#include "Logger.h" #include "Logger.hpp"
#include "DepLibUV.h" #include "DepLibUV.hpp"
namespace RTC namespace RTC
{ {
......
#define MS_CLASS "RTC::RTCP::Bye" #define MS_CLASS "RTC::RTCP::Bye"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/Bye.h" #include "RTC/RTCP/Bye.hpp"
#include "Utils.h" #include "Utils.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::CompoundPacket" #define MS_CLASS "RTC::RTCP::CompoundPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/CompoundPacket.h" #include "RTC/RTCP/CompoundPacket.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
{ {
......
#define MS_CLASS "RTC::RTCP::Feedback" #define MS_CLASS "RTC::RTCP::Feedback"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/Feedback.h" #include "RTC/RTCP/Feedback.hpp"
// Feedback RTP. // Feedback RTP.
#include "RTC/RTCP/FeedbackRtpNack.h" #include "RTC/RTCP/FeedbackRtpNack.hpp"
#include "RTC/RTCP/FeedbackRtpTmmb.h" #include "RTC/RTCP/FeedbackRtpTmmb.hpp"
#include "RTC/RTCP/FeedbackRtpSrReq.h" #include "RTC/RTCP/FeedbackRtpSrReq.hpp"
#include "RTC/RTCP/FeedbackRtpTllei.h" #include "RTC/RTCP/FeedbackRtpTllei.hpp"
#include "RTC/RTCP/FeedbackRtpEcn.h" #include "RTC/RTCP/FeedbackRtpEcn.hpp"
// Feedback PS. // Feedback PS.
#include "RTC/RTCP/FeedbackPsPli.h" #include "RTC/RTCP/FeedbackPsPli.hpp"
#include "RTC/RTCP/FeedbackPsSli.h" #include "RTC/RTCP/FeedbackPsSli.hpp"
#include "RTC/RTCP/FeedbackPsRpsi.h" #include "RTC/RTCP/FeedbackPsRpsi.hpp"
#include "RTC/RTCP/FeedbackPsFir.h" #include "RTC/RTCP/FeedbackPsFir.hpp"
#include "RTC/RTCP/FeedbackPsTst.h" #include "RTC/RTCP/FeedbackPsTst.hpp"
#include "RTC/RTCP/FeedbackPsVbcm.h" #include "RTC/RTCP/FeedbackPsVbcm.hpp"
#include "RTC/RTCP/FeedbackPsLei.h" #include "RTC/RTCP/FeedbackPsLei.hpp"
#include "RTC/RTCP/FeedbackPsAfb.h" #include "RTC/RTCP/FeedbackPsAfb.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::FeedbackPsPacket" #define MS_CLASS "RTC::RTCP::FeedbackPsPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackPs.h" #include "RTC/RTCP/FeedbackPs.hpp"
#include "RTC/RTCP/FeedbackPsSli.h" #include "RTC/RTCP/FeedbackPsSli.hpp"
#include "RTC/RTCP/FeedbackPsRpsi.h" #include "RTC/RTCP/FeedbackPsRpsi.hpp"
#include "RTC/RTCP/FeedbackPsFir.h" #include "RTC/RTCP/FeedbackPsFir.hpp"
#include "RTC/RTCP/FeedbackPsTst.h" #include "RTC/RTCP/FeedbackPsTst.hpp"
#include "RTC/RTCP/FeedbackPsVbcm.h" #include "RTC/RTCP/FeedbackPsVbcm.hpp"
#include "RTC/RTCP/FeedbackPsLei.h" #include "RTC/RTCP/FeedbackPsLei.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
{ {
......
#define MS_CLASS "RTC::RTCP::FeedbackPsAfbPacket" #define MS_CLASS "RTC::RTCP::FeedbackPsAfbPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackPsAfb.h" #include "RTC/RTCP/FeedbackPsAfb.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::FeedbackPsFirPacket" #define MS_CLASS "RTC::RTCP::FeedbackPsFirPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackPsFir.h" #include "RTC/RTCP/FeedbackPsFir.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
#include <string.h> // std::memset() #include <string.h> // std::memset()
......
#define MS_CLASS "RTC::RTCP::FeedbackPsPsLeiPacket" #define MS_CLASS "RTC::RTCP::FeedbackPsPsLeiPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackPsLei.h" #include "RTC/RTCP/FeedbackPsLei.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::FeedbackPsPliPacket" #define MS_CLASS "RTC::RTCP::FeedbackPsPliPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackPsPli.h" #include "RTC/RTCP/FeedbackPsPli.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
{ {
......
#define MS_CLASS "RTC::RTCP::FeedbackPsRpsiPacket" #define MS_CLASS "RTC::RTCP::FeedbackPsRpsiPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackPsRpsi.h" #include "RTC/RTCP/FeedbackPsRpsi.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::FeedbackPsSliPacket" #define MS_CLASS "RTC::RTCP::FeedbackPsSliPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackPsSli.h" #include "RTC/RTCP/FeedbackPsSli.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::FeedbackPsTstPacket" #define MS_CLASS "RTC::RTCP::FeedbackPsTstPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackPsTst.h" #include "RTC/RTCP/FeedbackPsTst.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::FeedbackPsVbcmPacket" #define MS_CLASS "RTC::RTCP::FeedbackPsVbcmPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackPsVbcm.h" #include "RTC/RTCP/FeedbackPsVbcm.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::FeedbackRtpPacket" #define MS_CLASS "RTC::RTCP::FeedbackRtpPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackRtp.h" #include "RTC/RTCP/FeedbackRtp.hpp"
#include "RTC/RTCP/FeedbackRtpNack.h" #include "RTC/RTCP/FeedbackRtpNack.hpp"
#include "RTC/RTCP/FeedbackRtpTmmb.h" #include "RTC/RTCP/FeedbackRtpTmmb.hpp"
#include "RTC/RTCP/FeedbackRtpTllei.h" #include "RTC/RTCP/FeedbackRtpTllei.hpp"
#include "RTC/RTCP/FeedbackRtpEcn.h" #include "RTC/RTCP/FeedbackRtpEcn.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
{ {
......
#define MS_CLASS "RTC::RTCP::FeedbackRtpEcnPacket" #define MS_CLASS "RTC::RTCP::FeedbackRtpEcnPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackRtpEcn.h" #include "RTC/RTCP/FeedbackRtpEcn.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::FeedbackRtpNackPacket" #define MS_CLASS "RTC::RTCP::FeedbackRtpNackPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackRtpNack.h" #include "RTC/RTCP/FeedbackRtpNack.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::FeedbackRtpSrReqPacket" #define MS_CLASS "RTC::RTCP::FeedbackRtpSrReqPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackRtpSrReq.h" #include "RTC/RTCP/FeedbackRtpSrReq.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
{ {
......
#define MS_CLASS "RTC::RTCP::FeedbackRtpTlleiPacket" #define MS_CLASS "RTC::RTCP::FeedbackRtpTlleiPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackRtpTllei.h" #include "RTC/RTCP/FeedbackRtpTllei.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::FeedbackRtpTmmbPacket" #define MS_CLASS "RTC::RTCP::FeedbackRtpTmmbPacket"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/FeedbackRtpTmmb.h" #include "RTC/RTCP/FeedbackRtpTmmb.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::Packet" #define MS_CLASS "RTC::RTCP::Packet"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/Packet.h" #include "RTC/RTCP/Packet.hpp"
#include "RTC/RTCP/ReceiverReport.h" #include "RTC/RTCP/ReceiverReport.hpp"
#include "RTC/RTCP/SenderReport.h" #include "RTC/RTCP/SenderReport.hpp"
#include "RTC/RTCP/Sdes.h" #include "RTC/RTCP/Sdes.hpp"
#include "RTC/RTCP/Bye.h" #include "RTC/RTCP/Bye.hpp"
#include "RTC/RTCP/Feedback.h" #include "RTC/RTCP/Feedback.hpp"
#include "Logger.h" #include "Logger.hpp"
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
{ {
......
#define MS_CLASS "RTC::RTCP::ReceiverReport" #define MS_CLASS "RTC::RTCP::ReceiverReport"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/ReceiverReport.h" #include "RTC/RTCP/ReceiverReport.hpp"
#include "Utils.h" #include "Utils.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
#define MS_CLASS "RTC::RTCP::Sdes" #define MS_CLASS "RTC::RTCP::Sdes"
// #define MS_LOG_DEV // #define MS_LOG_DEV
#include "RTC/RTCP/Sdes.h" #include "RTC/RTCP/Sdes.hpp"
#include "Utils.h" #include "Utils.hpp"
#include "Logger.h" #include "Logger.hpp"
#include <cstring> #include <cstring>
namespace RTC { namespace RTCP namespace RTC { namespace RTCP
......
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论