diff options
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); } |