3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/nether_net/ContextProxy.h"
7#include "mc/deps/nether_net/ESessionError.h"
8#include "mc/external/rtc/RefCountedObject.h"
9#include "mc/external/webrtc/CreateSessionDescriptionObserver.h"
10#include "mc/external/webrtc/RTCErrorOr.h"
11#include "mc/external/webrtc/SetLocalDescriptionObserverInterface.h"
12#include "mc/external/webrtc/SetRemoteDescriptionObserverInterface.h"
13#include "mc/external/webrtc/scoped_refptr.h"
14#include "mc/platform/brstd/move_only_function.h"
49 CreateSessionObserver& operator=(CreateSessionObserver
const&);
50 CreateSessionObserver(CreateSessionObserver
const&);
51 CreateSessionObserver();
60 virtual ~CreateSessionObserver() =
default;
80 struct SetLocalDescriptionObserver
90 SetLocalDescriptionObserver& operator=(SetLocalDescriptionObserver
const&);
91 SetLocalDescriptionObserver(SetLocalDescriptionObserver
const&);
92 SetLocalDescriptionObserver();
99 virtual ~SetLocalDescriptionObserver() =
default;
117 struct SetRemoteDescriptionObserver
127 SetRemoteDescriptionObserver& operator=(SetRemoteDescriptionObserver
const&);
128 SetRemoteDescriptionObserver(SetRemoteDescriptionObserver
const&);
129 SetRemoteDescriptionObserver();
136 virtual ~SetRemoteDescriptionObserver() =
default;
170 PeerConnectionNegotiator& operator=(PeerConnectionNegotiator
const&);
171 PeerConnectionNegotiator(PeerConnectionNegotiator
const&);
172 PeerConnectionNegotiator();
177 virtual ~PeerConnectionNegotiator() ;
179 virtual ::NetherNet::ESessionError checkTimeout(::std::chrono::seconds)
const;
235 MCNAPI ::NetherNet::ESessionError
$checkTimeout(::std::chrono::seconds)
const;
Definition CandidateAdd.h:7
Definition ConnectError.h:7
Definition ConnectRequest.h:12
Definition ConnectResponse.h:12
Definition ContextProxy.h:18
MCAPI::NetherNet::ESessionError $checkTimeout(::std::chrono::seconds) const
MCAPI void $onRemoteError(::NetherNet::ConnectError const &)
MCAPI void $onRemoteAnswer(::NetherNet::ConnectResponse const &)
MCAPI PeerConnectionNegotiator(::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 * $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)
static MCAPI void ** $vftable()
Definition PeerConnectionObserver.h:22
Definition move_only_function.h:9
Definition RefCountedObject.h:8
Definition PeerConnectionFactory.h:31
Definition RTCErrorOr.h:8
Definition SessionDescriptionInterface.h:18
Definition scoped_refptr.h:8
Definition PeerConnectionNegotiator.h:40
static MCAPI void ** $vftable()
MCAPI void $OnFailure(::webrtc::RTCError error)
MCAPI void $OnSuccess(::webrtc::SessionDescriptionInterface *description)
Definition PeerConnectionNegotiator.h:81
MCAPI void $OnSetLocalDescriptionComplete(::webrtc::RTCError result)
static MCAPI void ** $vftable()
Definition PeerConnectionNegotiator.h:118
static MCAPI void ** $vftable()
MCAPI void $OnSetRemoteDescriptionComplete(::webrtc::RTCError result)