From f2799fdbb296fa764384ba085fcb46e19248b09a Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Tue, 14 Aug 2018 04:41:15 +0200 Subject: Fix name collision, scons file, final touches --- src/GodotDataChannelObserver.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/GodotDataChannelObserver.cpp') diff --git a/src/GodotDataChannelObserver.cpp b/src/GodotDataChannelObserver.cpp index 081c868..7a6cf96 100644 --- a/src/GodotDataChannelObserver.cpp +++ b/src/GodotDataChannelObserver.cpp @@ -1,12 +1,12 @@ -#include "WebRTCPeer.hpp" +#include "WebRTCLibPeer.hpp" using namespace godot_webrtc; -WebRTCPeer::GodotDCO::GodotDCO(WebRTCPeer *parent) { +WebRTCLibPeer::GodotDCO::GodotDCO(WebRTCLibPeer *parent) { this->parent = parent; } -void WebRTCPeer::GodotDCO::OnMessage(const webrtc::DataBuffer &buffer) { +void WebRTCLibPeer::GodotDCO::OnMessage(const webrtc::DataBuffer &buffer) { const uint8_t *data = buffer.data.data(); uint8_t *memory_controlled_buffer = new uint8_t[buffer.data.size()]; @@ -14,6 +14,6 @@ void WebRTCPeer::GodotDCO::OnMessage(const webrtc::DataBuffer &buffer) { parent->queue_packet(memory_controlled_buffer, buffer.data.size()); }; -void WebRTCPeer::GodotDCO::OnStateChange(){}; +void WebRTCLibPeer::GodotDCO::OnStateChange(){}; -void WebRTCPeer::GodotDCO::OnBufferedAmountChange(uint64_t previous_amount){}; +void WebRTCLibPeer::GodotDCO::OnBufferedAmountChange(uint64_t previous_amount){}; -- cgit v1.2.3