summaryrefslogtreecommitdiff
path: root/src/GodotPeerConnectionObserver.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/GodotPeerConnectionObserver.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/GodotPeerConnectionObserver.cpp')
-rw-r--r--src/GodotPeerConnectionObserver.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/GodotPeerConnectionObserver.cpp b/src/GodotPeerConnectionObserver.cpp
index 572b6d7..298cfcf 100644
--- a/src/GodotPeerConnectionObserver.cpp
+++ b/src/GodotPeerConnectionObserver.cpp
@@ -1,33 +1,33 @@
-#include "WebRTCPeer.hpp"
+#include "WebRTCLibPeer.hpp"
using namespace godot_webrtc;
-WebRTCPeer::GodotPCO::GodotPCO(WebRTCPeer *parent) {
+WebRTCLibPeer::GodotPCO::GodotPCO(WebRTCLibPeer *parent) {
this->parent = parent;
}
-void WebRTCPeer::GodotPCO::OnSignalingChange(webrtc::PeerConnectionInterface::SignalingState new_state) {
+void WebRTCLibPeer::GodotPCO::OnSignalingChange(webrtc::PeerConnectionInterface::SignalingState new_state) {
}
-void WebRTCPeer::GodotPCO::OnAddStream(rtc::scoped_refptr<webrtc::MediaStreamInterface> stream) {
+void WebRTCLibPeer::GodotPCO::OnAddStream(rtc::scoped_refptr<webrtc::MediaStreamInterface> stream) {
}
-void WebRTCPeer::GodotPCO::OnRemoveStream(rtc::scoped_refptr<webrtc::MediaStreamInterface> stream) {
+void WebRTCLibPeer::GodotPCO::OnRemoveStream(rtc::scoped_refptr<webrtc::MediaStreamInterface> stream) {
}
-void WebRTCPeer::GodotPCO::OnDataChannel(rtc::scoped_refptr<webrtc::DataChannelInterface> data_channel) {
+void WebRTCLibPeer::GodotPCO::OnDataChannel(rtc::scoped_refptr<webrtc::DataChannelInterface> data_channel) {
}
-void WebRTCPeer::GodotPCO::OnRenegotiationNeeded() {
+void WebRTCLibPeer::GodotPCO::OnRenegotiationNeeded() {
}
-void WebRTCPeer::GodotPCO::OnIceConnectionChange(webrtc::PeerConnectionInterface::IceConnectionState new_state) {
+void WebRTCLibPeer::GodotPCO::OnIceConnectionChange(webrtc::PeerConnectionInterface::IceConnectionState new_state) {
}
-void WebRTCPeer::GodotPCO::OnIceGatheringChange(webrtc::PeerConnectionInterface::IceGatheringState new_state) {
+void WebRTCLibPeer::GodotPCO::OnIceGatheringChange(webrtc::PeerConnectionInterface::IceGatheringState new_state) {
}
-void WebRTCPeer::GodotPCO::OnIceCandidate(const webrtc::IceCandidateInterface *candidate) {
+void WebRTCLibPeer::GodotPCO::OnIceCandidate(const webrtc::IceCandidateInterface *candidate) {
// Serialize the candidate and send it to the remote peer:
godot::Dictionary candidateSDP;