This commit is contained in:
Théo Monnom
2022-09-16 11:45:39 +02:00
parent f643f458f8
commit 06587d154f
20 changed files with 261 additions and 267 deletions
@@ -7,8 +7,10 @@
#include <memory>
#include "api/data_channel_interface.h"
#include "rust_types.h"
namespace livekit {
using NativeDataChannelInit = webrtc::DataChannelInit;
class DataChannel {
public:
@@ -18,9 +20,12 @@ namespace livekit {
rtc::scoped_refptr<webrtc::DataChannelInterface> data_channel_;
};
std::unique_ptr<NativeDataChannelInit> create_data_channel_init(DataChannelInit init);
static std::unique_ptr<DataChannel> _unique_data_channel(){
return nullptr; // Ignore
}
} // livekit
#endif //CLIENT_SDK_NATIVE_DATA_CHANNEL_H