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.cpp | |
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.cpp')
-rw-r--r-- | src/net/WebRTCPeerNative.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/WebRTCPeerNative.cpp b/src/net/WebRTCPeerNative.cpp index 62d1040..0e32d61 100644 --- a/src/net/WebRTCPeerNative.cpp +++ b/src/net/WebRTCPeerNative.cpp @@ -55,15 +55,15 @@ godot_error create_offer_wp(void *user) { return ((WebRTCPeerNative *) user)->create_offer(); } -godot_error set_remote_description_wp(void *user, godot_string type, godot_string sdp) { +godot_error set_remote_description_wp(void *user, const char *type, const char *sdp) { return ((WebRTCPeerNative *) user)->set_remote_description(type, sdp); } -godot_error set_local_description_wp(void *user, godot_string type, godot_string sdp) { +godot_error set_local_description_wp(void *user, const char *type, const char *sdp) { return ((WebRTCPeerNative *) user)->set_local_description(type, sdp); } -godot_error add_ice_candidate_wp(void *user, godot_string sdpMidName, int sdpMlineIndexName, godot_string sdpName) { +godot_error add_ice_candidate_wp(void *user, const char *sdpMidName, int sdpMlineIndexName, const char *sdpName) { return ((WebRTCPeerNative *) user)->add_ice_candidate(sdpMidName, sdpMlineIndexName, sdpName); } |