@@ -81,7 +81,7 @@ set(LIBDATACHANNEL_HEADERS
${CMAKE_CURRENT_SOURCE_DIR}/include/rtc/description.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/rtc/mediahandler.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/rtc/rtcpreceivingsession.hpp
- ${CMAKE_CURRENT_SOURCE_DIR}/include/rtc/include.hpp
+ ${CMAKE_CURRENT_SOURCE_DIR}/include/rtc/common.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/rtc/init.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/rtc/log.hpp
${CMAKE_CURRENT_SOURCE_DIR}/include/rtc/message.hpp
@@ -19,7 +19,7 @@
#ifndef RTC_CANDIDATE_H
#define RTC_CANDIDATE_H
-#include "include.hpp"
+#include "common.hpp"
#include <string>
#ifndef RTC_CHANNEL_H
#define RTC_CHANNEL_H
#include "message.hpp"
#include <atomic>
@@ -16,8 +16,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RTC_INCLUDE_H
-#define RTC_INCLUDE_H
+#ifndef RTC_COMMON_H
+#define RTC_COMMON_H
#ifndef RTC_ENABLE_MEDIA
#define RTC_ENABLE_MEDIA 1
#ifndef RTC_ICE_CONFIGURATION_H
#define RTC_ICE_CONFIGURATION_H
#include <vector>
@@ -20,7 +20,7 @@
#define RTC_DATA_CHANNEL_H
#include "channel.hpp"
#include "queue.hpp"
#include "reliability.hpp"
@@ -21,7 +21,7 @@
#define RTC_DESCRIPTION_H
#include "candidate.hpp"
#include <iostream>
#include <map>
#ifndef RTC_INIT_H
#define RTC_INIT_H
#include <mutex>
@@ -35,7 +35,7 @@
#pragma warning(pop)
#endif
namespace rtc {
#ifndef RTC_MEDIA_HANDLER_H
#define RTC_MEDIA_HANDLER_H
#if RTC_ENABLE_MEDIA
#include "rtp.hpp"
#ifndef RTC_MESSAGE_H
#define RTC_MESSAGE_H
#include <functional>
@@ -23,7 +23,7 @@
#include "configuration.hpp"
#include "datachannel.hpp"
#include "description.hpp"
#include "init.hpp"
#ifndef RTC_QUEUE_H
#define RTC_QUEUE_H
#include <chrono>
#ifndef RTC_RELIABILITY_H
#define RTC_RELIABILITY_H
#include <variant>
@@ -17,7 +17,7 @@
// C++ API
#include "init.hpp" // for rtc::Cleanup()
#include "log.hpp"
//
@@ -22,7 +22,7 @@
#include "mediahandler.hpp"
#if RTC_ENABLE_WEBSOCKET
@@ -16,7 +16,7 @@
#include "rtc.h"
@@ -18,7 +18,7 @@
#include "globals.hpp"
#include "peerconnection.hpp"
#include "impl/datachannel.hpp"
#ifndef RTC_GLOBALS_H
#define RTC_GLOBALS_H
namespace rtc::impl {
#ifndef RTC_IMPL_CERTIFICATE_H
#define RTC_IMPL_CERTIFICATE_H
#include "tls.hpp"
#include <future>
#ifndef RTC_IMPL_CHANNEL_H
#define RTC_IMPL_CHANNEL_H
#include "logcounter.hpp"
#include "sctptransport.hpp"
#define RTC_IMPL_DATA_CHANNEL_H
#define RTC_IMPL_DTLS_SRTP_TRANSPORT_H
#include "dtlstransport.hpp"
#define RTC_IMPL_DTLS_TRANSPORT_H
#include "certificate.hpp"
#include "transport.hpp"
#ifndef RTC_SERVER_LOGCOUNTER_HPP
#define RTC_SERVER_LOGCOUNTER_HPP
#include "threadpool.hpp"
#include "icetransport.hpp"
#include "processor.hpp"
#include "track.hpp"
#ifndef RTC_IMPL_PROCESSOR_H
#define RTC_IMPL_PROCESSOR_H
#ifndef RTC_IMPL_SCTP_TRANSPORT_H
#define RTC_IMPL_SCTP_TRANSPORT_H
#ifndef RTC_IMPL_TCP_TRANSPORT_H
#define RTC_IMPL_TCP_TRANSPORT_H
#ifndef RTC_IMPL_THREADPOOL_H
#define RTC_IMPL_THREADPOOL_H
#ifndef RTC_TLS_H
#define RTC_TLS_H
#if USE_GNUTLS
#ifndef RTC_IMPL_TLS_TRANSPORT_H
#define RTC_IMPL_TLS_TRANSPORT_H
#ifndef RTC_IMPL_TRANSPORT_H
#define RTC_IMPL_TRANSPORT_H
#include "verifiedtlstransport.hpp"
#include "websocket.hpp"
#include "tcptransport.hpp"
#ifndef RTC_IMPL_WS_TRANSPORT_H
#define RTC_IMPL_WS_TRANSPORT_H
#include "impl/certificate.hpp"
#include "impl/websocket.hpp"