From 3e64a42b1492e38bf033041c0eb1212542728cbd Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Sun, 21 Apr 2019 04:57:53 +0200 Subject: Update to new DataChannel API. New WebRTCLibDataChannel class act as PacketPeer. Old WebRTCPeer (now WebRTCPeerConnection) now allows you to set configuration (STUN/TURN) and creating multiple data channels. Fixed many bugs and implemented most of the missing API. --- src/GodotSetSessionDescriptionObserver.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/GodotSetSessionDescriptionObserver.cpp') diff --git a/src/GodotSetSessionDescriptionObserver.cpp b/src/GodotSetSessionDescriptionObserver.cpp index 52be2af..96d466c 100644 --- a/src/GodotSetSessionDescriptionObserver.cpp +++ b/src/GodotSetSessionDescriptionObserver.cpp @@ -1,11 +1,11 @@ -#include "WebRTCLibPeer.hpp" +#include "WebRTCLibPeerConnection.hpp" using namespace godot_webrtc; -WebRTCLibPeer::GodotSSDO::GodotSSDO(WebRTCLibPeer *parent) { +WebRTCLibPeerConnection::GodotSSDO::GodotSSDO(WebRTCLibPeerConnection *parent) { this->parent = parent; } -void WebRTCLibPeer::GodotSSDO::OnSuccess(){}; +void WebRTCLibPeerConnection::GodotSSDO::OnSuccess(){}; -void WebRTCLibPeer::GodotSSDO::OnFailure(const std::string &error){}; +void WebRTCLibPeerConnection::GodotSSDO::OnFailure(const std::string &error){}; -- cgit v1.2.3