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/net/WebRTCPeerConnectionNative.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/net/WebRTCPeerConnectionNative.hpp')
-rw-r--r-- | src/net/WebRTCPeerConnectionNative.hpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/net/WebRTCPeerConnectionNative.hpp b/src/net/WebRTCPeerConnectionNative.hpp index 1613b53..10c1c9e 100644 --- a/src/net/WebRTCPeerConnectionNative.hpp +++ b/src/net/WebRTCPeerConnectionNative.hpp @@ -81,15 +81,15 @@ public: void _init(); void register_interface(const godot_net_webrtc_peer_connection *interface); - virtual int64_t _get_connection_state() const = 0; + virtual ConnectionState _get_connection_state() const = 0; - virtual int64_t _initialize(const godot::Dictionary &p_config) = 0; + virtual godot::Error _initialize(const godot::Dictionary &p_config) = 0; virtual godot::Object *_create_data_channel(const godot::String &p_channel, const godot::Dictionary &p_channel_config) = 0; - virtual int64_t _create_offer() = 0; - virtual int64_t _set_remote_description(const godot::String &type, const godot::String &sdp) = 0; - virtual int64_t _set_local_description(const godot::String &type, const godot::String &sdp) = 0; - virtual int64_t _add_ice_candidate(const godot::String &sdpMidName, int64_t sdpMlineIndexName, const godot::String &sdpName) = 0; - virtual int64_t _poll() = 0; + virtual godot::Error _create_offer() = 0; + virtual godot::Error _set_remote_description(const godot::String &type, const godot::String &sdp) = 0; + virtual godot::Error _set_local_description(const godot::String &type, const godot::String &sdp) = 0; + virtual godot::Error _add_ice_candidate(const godot::String &sdpMidName, int64_t sdpMlineIndexName, const godot::String &sdpName) = 0; + virtual godot::Error _poll() = 0; virtual void _close() = 0; ~WebRTCPeerConnectionNative(); |