mirror of
https://github.com/godotengine/webrtc-native.git
synced 2026-01-08 18:09:57 +03:00
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.
12 lines
316 B
C++
12 lines
316 B
C++
#include "WebRTCLibPeerConnection.hpp"
|
|
|
|
using namespace godot_webrtc;
|
|
|
|
WebRTCLibPeerConnection::GodotSSDO::GodotSSDO(WebRTCLibPeerConnection *parent) {
|
|
this->parent = parent;
|
|
}
|
|
|
|
void WebRTCLibPeerConnection::GodotSSDO::OnSuccess(){};
|
|
|
|
void WebRTCLibPeerConnection::GodotSSDO::OnFailure(const std::string &error){};
|