summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/WebRTCLibDataChannel.hpp4
-rw-r--r--src/WebRTCLibPeerConnection.hpp4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/WebRTCLibDataChannel.hpp b/src/WebRTCLibDataChannel.hpp
index 1c69997..3524e02 100644
--- a/src/WebRTCLibDataChannel.hpp
+++ b/src/WebRTCLibDataChannel.hpp
@@ -74,6 +74,10 @@ private:
protected:
static void _bind_methods() {}
+ godot::String _to_string() const {
+ return "WebRTCLibDataChannel";
+ }
+
public:
static WebRTCLibDataChannel *new_data_channel(std::shared_ptr<rtc::DataChannel> p_channel, bool p_negotiated);
diff --git a/src/WebRTCLibPeerConnection.hpp b/src/WebRTCLibPeerConnection.hpp
index 6608735..1bcb29e 100644
--- a/src/WebRTCLibPeerConnection.hpp
+++ b/src/WebRTCLibPeerConnection.hpp
@@ -67,6 +67,10 @@ private:
protected:
static void _bind_methods() {}
+ godot::String _to_string() const {
+ return "WebRTCLibPeerConnection";
+ }
+
public:
static void _register_methods() {}
static void initialize_signaling();