Working DataChannel
This commit is contained in:
@@ -20,6 +20,8 @@ namespace livekit {
|
||||
|
||||
void register_observer(NativeDataChannelObserver &observer);
|
||||
void unregister_observer();
|
||||
bool send(const DataBuffer& buffer);
|
||||
rust::String label() const;
|
||||
void close();
|
||||
private:
|
||||
rtc::scoped_refptr<webrtc::DataChannelInterface> data_channel_;
|
||||
|
||||
@@ -21,6 +21,7 @@ namespace livekit {
|
||||
struct RTCOfferAnswerOptions;
|
||||
struct RTCError;
|
||||
struct DataChannelInit;
|
||||
struct DataBuffer;
|
||||
}
|
||||
|
||||
#endif //RUST_TYPES_H
|
||||
|
||||
Reference in New Issue
Block a user