summaryrefslogtreecommitdiff
path: root/src/WebRTCPeer.hpp
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-08-12 05:49:46 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-08-12 05:49:46 +0200
commit501e09d6d897dfc390c3b1690a30db5de4dad193 (patch)
tree15c994ec8ae09ccd104d5c94705cd4eeb7f96af9 /src/WebRTCPeer.hpp
parent93c5cd4431aa99db2dbabbeee67ef1e0a5149526 (diff)
downloadfork-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/WebRTCPeer.hpp')
-rw-r--r--src/WebRTCPeer.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/WebRTCPeer.hpp b/src/WebRTCPeer.hpp
index 1f4550a..510276a 100644
--- a/src/WebRTCPeer.hpp
+++ b/src/WebRTCPeer.hpp
@@ -19,9 +19,9 @@ public:
godot_int get_connection_state() const;
godot_error create_offer();
- godot_error set_remote_description(godot_string type, godot_string sdp);
- godot_error set_local_description(godot_string type, godot_string sdp);
- godot_error add_ice_candidate(godot_string sdpMidName, int sdpMlineIndexName, godot_string sdpName);
+ godot_error set_remote_description(const char *type, const char *sdp);
+ godot_error set_local_description(const char *type, const char *sdp);
+ godot_error add_ice_candidate(const char *sdpMidName, int sdpMlineIndexName, const char *sdpName);
godot_error poll();
/* WebRTCPeer */