summaryrefslogtreecommitdiff
path: root/src/GodotCreateSessionDescriptionObserver.cpp
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-08-14 04:41:15 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2019-03-08 15:11:34 +0100
commitf2799fdbb296fa764384ba085fcb46e19248b09a (patch)
tree8ab05706e0c067d30b31679b5cfbd95a2fa49f2c /src/GodotCreateSessionDescriptionObserver.cpp
parent34fd1f8caa847d75ff7d5c6e3b8619b494608629 (diff)
downloadfork-godot-webrtc-native-f2799fdbb296fa764384ba085fcb46e19248b09a.tar.gz
fork-godot-webrtc-native-f2799fdbb296fa764384ba085fcb46e19248b09a.tar.bz2
fork-godot-webrtc-native-f2799fdbb296fa764384ba085fcb46e19248b09a.zip
Fix name collision, scons file, final touches
Diffstat (limited to 'src/GodotCreateSessionDescriptionObserver.cpp')
-rw-r--r--src/GodotCreateSessionDescriptionObserver.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/GodotCreateSessionDescriptionObserver.cpp b/src/GodotCreateSessionDescriptionObserver.cpp
index 1f4b661..77d1308 100644
--- a/src/GodotCreateSessionDescriptionObserver.cpp
+++ b/src/GodotCreateSessionDescriptionObserver.cpp
@@ -1,16 +1,16 @@
-#include "WebRTCPeer.hpp"
+#include "WebRTCLibPeer.hpp"
using namespace godot_webrtc;
-WebRTCPeer::GodotCSDO::GodotCSDO(WebRTCPeer *parent) {
+WebRTCLibPeer::GodotCSDO::GodotCSDO(WebRTCLibPeer *parent) {
this->parent = parent;
}
-void WebRTCPeer::GodotCSDO::OnSuccess(webrtc::SessionDescriptionInterface *desc) {
+void WebRTCLibPeer::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("offer_created", 2, desc->type().c_str(), sdp.c_str());
};
-void WebRTCPeer::GodotCSDO::OnFailure(const std::string &error){};
+void WebRTCLibPeer::GodotCSDO::OnFailure(const std::string &error){};