diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-07-02 15:50:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-02 15:50:08 +0200 |
commit | e120cc7ed6fb2413743d1ade59c50a55c3c9511b (patch) | |
tree | 4264358c3618a6db142d4cef4c0452decc3188d0 /src/init.cpp | |
parent | 001be7850090f88e0ff760eddadbe1c03004fd0f (diff) | |
parent | da20ebf3970e311af4fa7a0e0b52a58041ceac3e (diff) | |
download | fork-godot-webrtc-native-e120cc7ed6fb2413743d1ade59c50a55c3c9511b.tar.gz fork-godot-webrtc-native-e120cc7ed6fb2413743d1ade59c50a55c3c9511b.tar.bz2 fork-godot-webrtc-native-e120cc7ed6fb2413743d1ade59c50a55c3c9511b.zip |
Merge pull request #33 from Faless/bump/webrtc_4472
Bump webrtc to branch-heads/4472. Fixes signalling.
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp index 2b73cf1..a9a64ad 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -86,6 +86,7 @@ extern "C" void GDN_EXPORT godot_gdnative_init(godot_gdnative_init_options *o) { } } + godot_webrtc::WebRTCLibPeerConnection::initialize_signaling(); godot::Godot::gdnative_init(o); } @@ -93,6 +94,7 @@ extern "C" void GDN_EXPORT godot_gdnative_terminate(godot_gdnative_terminate_opt if (_singleton) { // If we are the active singleton, unregister WebRTCPeerConnectionNative::_net_api->godot_net_set_webrtc_library(NULL); } + godot_webrtc::WebRTCLibPeerConnection::deinitialize_signaling(); godot::Godot::gdnative_terminate(o); } |