diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2018-08-12 05:49:46 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2018-08-12 05:49:46 +0200 |
commit | 501e09d6d897dfc390c3b1690a30db5de4dad193 (patch) | |
tree | 15c994ec8ae09ccd104d5c94705cd4eeb7f96af9 /src/net/WebRTCPeerNative.hpp | |
parent | 93c5cd4431aa99db2dbabbeee67ef1e0a5149526 (diff) | |
download | fork-godot-webrtc-native-501e09d6d897dfc390c3b1690a30db5de4dad193.tar.gz fork-godot-webrtc-native-501e09d6d897dfc390c3b1690a30db5de4dad193.tar.bz2 fork-godot-webrtc-native-501e09d6d897dfc390c3b1690a30db5de4dad193.zip |
Update to reflect new interface
Diffstat (limited to 'src/net/WebRTCPeerNative.hpp')
-rw-r--r-- | src/net/WebRTCPeerNative.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/net/WebRTCPeerNative.hpp b/src/net/WebRTCPeerNative.hpp index b9ba4e9..30b4536 100644 --- a/src/net/WebRTCPeerNative.hpp +++ b/src/net/WebRTCPeerNative.hpp @@ -19,9 +19,9 @@ bool was_string_packet_wp(const void *); godot_int get_connection_state_wp(const void *); godot_error create_offer_wp(void *); -godot_error set_remote_description_wp(void *, godot_string, godot_string); -godot_error set_local_description_wp(void *, godot_string, godot_string); -godot_error add_ice_candidate_wp(void *, godot_string, int, godot_string); +godot_error set_remote_description_wp(void *, const char *, const char *); +godot_error set_local_description_wp(void *, const char *, const char *); +godot_error add_ice_candidate_wp(void *, const char *, int, const char *); godot_error poll_wp(void *); class WebRTCPeerNative : public godot::WebRTCPeer { @@ -49,9 +49,9 @@ public: virtual godot_int get_connection_state() const; virtual godot_error create_offer() = 0; - virtual godot_error set_remote_description(godot_string type, godot_string sdp) = 0; - virtual godot_error set_local_description(godot_string type, godot_string sdp) = 0; - virtual godot_error add_ice_candidate(godot_string sdpMidName, int sdpMlineIndexName, godot_string sdpName) = 0; + virtual godot_error set_remote_description(const char * type, const char * sdp) = 0; + virtual godot_error set_local_description(const char * type, const char * sdp) = 0; + virtual godot_error add_ice_candidate(const char *sdpMidName, int sdpMlineIndexName, const char *sdpName) = 0; virtual godot_error poll() = 0; /* PacketPeer */ |