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"
16namespace NetherNet {
class CandidateAdd; }
17namespace NetherNet {
class ConnectError; }
18namespace NetherNet {
class ConnectRequest; }
19namespace NetherNet {
class ConnectResponse; }
20namespace NetherNet {
class ContextProxy; }
21namespace NetherNet {
class PeerConnectionObserver; }
22namespace webrtc {
class IceCandidateInterface; }
23namespace webrtc {
class PeerConnectionFactory; }
24namespace webrtc {
class PeerConnectionInterface; }
25namespace webrtc {
class RTCError; }
26namespace webrtc {
class SessionDescriptionInterface; }
52 virtual ::NetherNet::ESessionError checkTimeout(::std::chrono::seconds timeout)
const ;
130 MCNAPI ::NetherNet::ESessionError
$checkTimeout(::std::chrono::seconds timeout)
const;
Definition CandidateAdd.h:7
Definition ClientNegotiator.h:31
MCAPI void $_onCreateSession(::webrtc::RTCErrorOr<::webrtc::SessionDescriptionInterface * > const &offerOrError)
static MCAPI void ** $vftable()
MCAPI void $onRemoteError(::NetherNet::ConnectError const &error)
MCAPI::NetherNet::ESessionError $checkTimeout(::std::chrono::seconds timeout) const
MCAPI void _onIceConnectionChanged(::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)
MCAPI void $onRemoteIceCandidate(::NetherNet::CandidateAdd const &candidate)
MCAPI void createOffer(::webrtc::PeerConnectionInterface::RTCConfiguration const &config, ::brstd::move_only_function< void(::Bedrock::Result<::webrtc::scoped_refptr<::webrtc::PeerConnectionInterface >, ::NetherNet::ESessionError >)> &&onComplete)
MCAPI void $onRemoteAnswer(::NetherNet::ConnectResponse const &answer)
MCAPI void $_onSetRemoteDescription(::webrtc::RTCError result)
MCAPI void $_onSetLocalDescription(::webrtc::RTCError result)
MCAPI void $_onLocalIceCandidate(::webrtc::IceCandidateInterface const *iceCandidate)
MCAPI ClientNegotiator(::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 ConnectError.h:7
Definition ConnectRequest.h:12
Definition ConnectResponse.h:12
Definition ContextProxy.h:18
Definition PeerConnectionNegotiator.h:30
Definition move_only_function.h:9
Definition IceCandidateInterface.h:12
Definition RTCErrorOr.h:8
Definition scoped_refptr.h:8
Definition PeerConnectionInterface.h:193