16ea02075f
- RtpSender
- RtpReceiver
- RtpTransceiver
- RtpParameters
- VideoFrameBuilder
- Interior mutability on c++ side
- Cleanup bindings ( Use #pragma once instead of include guards )
- webrtc-sys/src/* headers are now used in only one place
- Avoid confusion between generated headers and our headers
- AdaptedVideoTrackSource
- Cleanup the workaround with unsupported Vec<Shared<T>>
- Put everything inside one file
23 lines
427 B
C++
23 lines
427 B
C++
//
|
|
// Created by theom on 04/09/2022.
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#include "api/rtc_error.h"
|
|
#include "rust/cxx.h"
|
|
#include "webrtc-sys/src/rtc_error.rs.h"
|
|
|
|
namespace livekit {
|
|
|
|
RTCError to_error(const webrtc::RTCError& error);
|
|
std::string serialize_error(
|
|
const RTCError& error); // to be used inside cxx::Exception msg
|
|
|
|
#ifdef LIVEKIT_TEST
|
|
rust::String serialize_deserialize();
|
|
void throw_error();
|
|
#endif
|
|
|
|
} // namespace livekit
|