3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/nether_net/ESessionError.h"
7#include "mc/deps/nether_net/PeerConnectionNegotiator.h"
8#include "mc/external/webrtc/PeerConnectionInterface.h"
9#include "mc/external/webrtc/RTCErrorOr.h"
10#include "mc/external/webrtc/scoped_refptr.h"
11#include "mc/platform/Result.h"
12#include "mc/platform/brstd/move_only_function.h"
43 ServerNegotiator& operator=(ServerNegotiator
const&);
44 ServerNegotiator(ServerNegotiator
const&);
61 virtual ~ServerNegotiator() ;
Definition CandidateAdd.h:7
Definition ConnectError.h:7
Definition ConnectRequest.h:12
Definition ConnectResponse.h:12
Definition ContextProxy.h:18
Definition PeerConnectionNegotiator.h:30
Definition PeerConnectionObserver.h:22
MCAPI void createAnswer(::webrtc::PeerConnectionInterface::RTCConfiguration const &config, ::NetherNet::ConnectRequest const &offer, ::brstd::move_only_function< void(::Bedrock::Result<::webrtc::scoped_refptr<::webrtc::PeerConnectionInterface >, ::NetherNet::ESessionError >)> &&onComplete)
MCAPI ServerNegotiator(::NetherNet::ContextProxy const &ctx, ::webrtc::scoped_refptr<::webrtc::PeerConnectionFactory > factory, ::webrtc::scoped_refptr<::NetherNet::PeerConnectionObserver > observer, ::brstd::move_only_function< void(::std::variant< ::NetherNet::ConnectRequest, ::NetherNet::ConnectResponse, ::NetherNet::ConnectError, ::NetherNet::CandidateAdd > const &) const > sendMessage, uint64 sessionId)
static MCAPI void ** $vftable()
MCAPI void $_onLocalIceCandidate(::webrtc::IceCandidateInterface const *iceCandidate)
MCAPI void $_onCreateSession(::webrtc::RTCErrorOr<::webrtc::SessionDescriptionInterface * > const &answerOrError)
MCAPI void $onRemoteIceCandidate(::NetherNet::CandidateAdd const &candidate)
MCAPI void $_onSetRemoteDescription(::webrtc::RTCError result)
MCAPI void $_onSetLocalDescription(::webrtc::RTCError result)
MCAPI void _onIceConnectionChange(::webrtc::PeerConnectionInterface::IceConnectionState newState)
MCAPI void * $ctor(::NetherNet::ContextProxy const &ctx, ::webrtc::scoped_refptr<::webrtc::PeerConnectionFactory > factory, ::webrtc::scoped_refptr<::NetherNet::PeerConnectionObserver > observer, ::brstd::move_only_function< void(::std::variant< ::NetherNet::ConnectRequest, ::NetherNet::ConnectResponse, ::NetherNet::ConnectError, ::NetherNet::CandidateAdd > const &) const > sendMessage, uint64 sessionId)
Definition move_only_function.h:9
Definition IceCandidateInterface.h:12
Definition PeerConnectionFactory.h:31
Definition PeerConnectionInterface.h:44
Definition RTCErrorOr.h:8
Definition SessionDescriptionInterface.h:18
Definition scoped_refptr.h:8
Definition PeerConnectionInterface.h:198