diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2022-09-11 18:26:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-11 18:26:08 +0200 |
commit | 822e0532c23354c02fcdbdef90dc70236ece6255 (patch) | |
tree | 5eebac3b7ac82500601084e883086139bc29b01b /src/WebRTCLibPeerConnection.hpp | |
parent | 2ad1bf171653c3fb72d8f987b403ab65c9ad6a46 (diff) | |
parent | d8cbd14a28d8c3c526c8ba1759b4052cbfead2c9 (diff) | |
download | fork-godot-webrtc-native-822e0532c23354c02fcdbdef90dc70236ece6255.tar.gz fork-godot-webrtc-native-822e0532c23354c02fcdbdef90dc70236ece6255.tar.bz2 fork-godot-webrtc-native-822e0532c23354c02fcdbdef90dc70236ece6255.zip |
Merge pull request #60 from Faless/bump/alpha16
Update to Godot alpha16
Diffstat (limited to 'src/WebRTCLibPeerConnection.hpp')
-rw-r--r-- | src/WebRTCLibPeerConnection.hpp | 15 |
1 files changed, 8 insertions, 7 deletions
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 <godot_cpp/classes/global_constants_binds.hpp> #include <godot_cpp/classes/web_rtc_peer_connection_extension.hpp> #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(); |