diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2020-01-03 19:43:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-03 19:43:01 +0100 |
commit | 61e45cb083a2879bed238f3052f7c12bd230da16 (patch) | |
tree | 8a8f727a8d79342f2bd5df79bc58fc32b964b821 /src/GodotCreateSessionDescriptionObserver.cpp | |
parent | 423454086e21d40a545f9e46d6e35c1b3c557d77 (diff) | |
parent | 6983019cab6acc39d3e4157f7e03aafadb2291df (diff) | |
download | godot-webrtc-native-61e45cb083a2879bed238f3052f7c12bd230da16.tar.gz godot-webrtc-native-61e45cb083a2879bed238f3052f7c12bd230da16.tar.bz2 godot-webrtc-native-61e45cb083a2879bed238f3052f7c12bd230da16.zip |
Merge pull request #10 from Faless/refactor/better-scons
Better build script, readme
Diffstat (limited to 'src/GodotCreateSessionDescriptionObserver.cpp')
-rw-r--r-- | src/GodotCreateSessionDescriptionObserver.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/GodotCreateSessionDescriptionObserver.cpp b/src/GodotCreateSessionDescriptionObserver.cpp deleted file mode 100644 index f9d110c..0000000 --- a/src/GodotCreateSessionDescriptionObserver.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "WebRTCLibPeerConnection.hpp" - -using namespace godot_webrtc; - -WebRTCLibPeerConnection::GodotCSDO::GodotCSDO(WebRTCLibPeerConnection *parent) { - this->parent = parent; -} - -void WebRTCLibPeerConnection::GodotCSDO::OnSuccess(webrtc::SessionDescriptionInterface *desc) { - // serialize this offer and send it to the remote peer: - std::string sdp; // sdp = session description protocol - desc->ToString(&sdp); - parent->queue_signal("session_description_created", 2, desc->type().c_str(), sdp.c_str()); -}; - -void WebRTCLibPeerConnection::GodotCSDO::OnFailure(const std::string &error){}; |