From 00f952bcf1f886d6bcb58a162e5c157ad26d4945 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Tue, 7 Feb 2023 23:15:42 +0100 Subject: Update to Godot 4.0 rc1. --- src/WebRTCLibPeerConnection.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/WebRTCLibPeerConnection.hpp') 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; -- cgit v1.2.3