DataChannel progress

This commit is contained in:
Théo Monnom
2022-09-19 01:11:18 +02:00
parent dca8cf7796
commit 8380ffadef
21 changed files with 389 additions and 87 deletions
@@ -0,0 +1,22 @@
//
// Created by theom on 18/09/2022.
//
#include "livekit/webrtc.h"
#include "rtc_base/logging.h"
namespace livekit {
RTCRuntime::RTCRuntime() {
RTC_LOG(LS_INFO) << "RTCRuntime()";
RTC_CHECK(rtc::InitializeSSL()) << "Failed to InitializeSSL()";
}
RTCRuntime::~RTCRuntime() {
RTC_LOG(LS_INFO) << "~RTCRuntime()";
RTC_CHECK(rtc::CleanupSSL()) << "Failed to CleanupSSL()";
}
std::unique_ptr<RTCRuntime> create_rtc_runtime(){
return std::make_unique<RTCRuntime>();
}
} // livekit