From 6e52fce98660dc9eaa832d682bf38e2ea742e5b6 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Sun, 11 Sep 2022 14:16:30 +0200 Subject: Update sources to alpha16 --- src/WebRTCLibPeerConnection.hpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/WebRTCLibPeerConnection.hpp') diff --git a/src/WebRTCLibPeerConnection.hpp b/src/WebRTCLibPeerConnection.hpp index 1a759b2..2f7c6e3 100644 --- a/src/WebRTCLibPeerConnection.hpp +++ b/src/WebRTCLibPeerConnection.hpp @@ -40,6 +40,7 @@ #define GDCLASS(arg1, arg2) GODOT_CLASS(arg1, arg2) #endif #else +#include #include #endif @@ -71,15 +72,15 @@ public: void _init(); - int64_t _get_connection_state() const override; + ConnectionState _get_connection_state() const override; - int64_t _initialize(const godot::Dictionary &p_config) override; + godot::Error _initialize(const godot::Dictionary &p_config) override; godot::Object *_create_data_channel(const godot::String &p_channel, const godot::Dictionary &p_channel_config) override; - int64_t _create_offer() override; - int64_t _set_remote_description(const godot::String &type, const godot::String &sdp) override; - int64_t _set_local_description(const godot::String &type, const godot::String &sdp) override; - int64_t _add_ice_candidate(const godot::String &sdpMidName, int64_t sdpMlineIndexName, const godot::String &sdpName) override; - int64_t _poll() override; + 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; + godot::Error _add_ice_candidate(const godot::String &sdpMidName, int64_t sdpMlineIndexName, const godot::String &sdpName) override; + godot::Error _poll() override; void _close() override; WebRTCLibPeerConnection(); -- cgit v1.2.3