summaryrefslogtreecommitdiff
path: root/src/WebRTCLibPeerConnection.hpp
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2023-02-07 23:15:42 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2023-02-09 15:31:39 +0100
commit00f952bcf1f886d6bcb58a162e5c157ad26d4945 (patch)
tree42de960838ce444a1c5ded501e4f8faac3379c7f /src/WebRTCLibPeerConnection.hpp
parentd7032f7b852e2e0acfc6cc1cdd1a17238529abac (diff)
downloadfork-godot-webrtc-native-00f952bcf1f886d6bcb58a162e5c157ad26d4945.tar.gz
fork-godot-webrtc-native-00f952bcf1f886d6bcb58a162e5c157ad26d4945.tar.bz2
fork-godot-webrtc-native-00f952bcf1f886d6bcb58a162e5c157ad26d4945.zip
Update to Godot 4.0 rc1.
Diffstat (limited to 'src/WebRTCLibPeerConnection.hpp')
-rw-r--r--src/WebRTCLibPeerConnection.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/WebRTCLibPeerConnection.hpp b/src/WebRTCLibPeerConnection.hpp
index 703a59c..4e7af16 100644
--- a/src/WebRTCLibPeerConnection.hpp
+++ b/src/WebRTCLibPeerConnection.hpp
@@ -83,7 +83,11 @@ public:
godot::Error _create_offer() override;
godot::Error _set_remote_description(const godot::String &type, const godot::String &sdp) override;
godot::Error _set_local_description(const godot::String &type, const godot::String &sdp) override;
+#ifdef GDNATIVE_WEBRTC
godot::Error _add_ice_candidate(const godot::String &sdpMidName, int64_t sdpMlineIndexName, const godot::String &sdpName) override;
+#else
+ godot::Error _add_ice_candidate(const godot::String &sdpMidName, int32_t sdpMlineIndexName, const godot::String &sdpName) override;
+#endif
godot::Error _poll() override;
void _close() override;