diff options
author | Brandon Makin <bmicmak@gmail.com> | 2018-08-12 22:47:37 -0700 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2019-03-08 15:10:08 +0100 |
commit | 34fd1f8caa847d75ff7d5c6e3b8619b494608629 (patch) | |
tree | d91f06930c66014b19bea7fd4526736b69a676f5 /src/net/WebRTCPeerNative.hpp | |
parent | a44a5af115871b5be4dcfb05a421046a25ba5d73 (diff) | |
download | fork-godot-webrtc-native-34fd1f8caa847d75ff7d5c6e3b8619b494608629.tar.gz fork-godot-webrtc-native-34fd1f8caa847d75ff7d5c6e3b8619b494608629.tar.bz2 fork-godot-webrtc-native-34fd1f8caa847d75ff7d5c6e3b8619b494608629.zip |
Import GSoC work to WebRTC GDNative implementation
Diffstat (limited to 'src/net/WebRTCPeerNative.hpp')
-rw-r--r-- | src/net/WebRTCPeerNative.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/WebRTCPeerNative.hpp b/src/net/WebRTCPeerNative.hpp index fe2a8a7..e82f295 100644 --- a/src/net/WebRTCPeerNative.hpp +++ b/src/net/WebRTCPeerNative.hpp @@ -29,7 +29,7 @@ class WebRTCPeerNative : public godot::WebRTCPeerGDNative { protected: godot_net_webrtc_peer interface = { - {3, 1}, + { 3, 1 }, this, &get_packet_wp, @@ -63,8 +63,8 @@ public: virtual godot_int get_connection_state() const = 0; virtual godot_error create_offer() = 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 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; |