summaryrefslogtreecommitdiff
path: root/src/WebRTCLibPeerConnection.hpp
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2023-02-09 19:20:56 +0100
committerGitHub <noreply@github.com>2023-02-09 19:20:56 +0100
commitc6b6f7e18cccb1c8e219dc262c52dccf58c9c90b (patch)
tree42de960838ce444a1c5ded501e4f8faac3379c7f /src/WebRTCLibPeerConnection.hpp
parentd7032f7b852e2e0acfc6cc1cdd1a17238529abac (diff)
parent00f952bcf1f886d6bcb58a162e5c157ad26d4945 (diff)
downloadfork-godot-webrtc-native-c6b6f7e18cccb1c8e219dc262c52dccf58c9c90b.tar.gz
fork-godot-webrtc-native-c6b6f7e18cccb1c8e219dc262c52dccf58c9c90b.tar.bz2
fork-godot-webrtc-native-c6b6f7e18cccb1c8e219dc262c52dccf58c9c90b.zip
Merge pull request #87 from Faless/bump/rc1
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;