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/webrtc/CreateSessionDescriptionObserver.h"
9#include "mc/external/webrtc/RTCErrorOr.h"
10#include "mc/external/webrtc/RefCountedObject.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();
72 struct SetLocalDescriptionObserver
82 SetLocalDescriptionObserver& operator=(SetLocalDescriptionObserver
const&);
83 SetLocalDescriptionObserver(SetLocalDescriptionObserver
const&);
84 SetLocalDescriptionObserver();
101 struct SetRemoteDescriptionObserver
111 SetRemoteDescriptionObserver& operator=(SetRemoteDescriptionObserver
const&);
112 SetRemoteDescriptionObserver(SetRemoteDescriptionObserver
const&);
113 SetRemoteDescriptionObserver();
147 PeerConnectionNegotiator& operator=(PeerConnectionNegotiator
const&);
148 PeerConnectionNegotiator(PeerConnectionNegotiator
const&);
149 PeerConnectionNegotiator();
154 virtual ~PeerConnectionNegotiator() =
default;
156 virtual ::NetherNet::ESessionError checkTimeout(::std::chrono::seconds timeout)
const;
206 MCNAPI ::NetherNet::ESessionError
$checkTimeout(::std::chrono::seconds timeout)
const;
Definition CandidateAdd.h:7
Definition ConnectError.h:7
Definition ConnectRequest.h:7
Definition ConnectResponse.h:7
Definition ContextProxy.h:18
MCAPI void $onRemoteError(::NetherNet::ConnectError const &error)
MCAPI::NetherNet::ESessionError $checkTimeout(::std::chrono::seconds timeout) 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 $onRemoteAnswer(::NetherNet::ConnectResponse const &answer)
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 PeerConnectionObserver.h:22
Definition move_only_function.h:9
Definition PeerConnectionFactory.h:32
Definition RTCErrorOr.h:8
Definition RefCountedObject.h:8
Definition SessionDescriptionInterface.h:17
Definition scoped_refptr.h:8
Definition PeerConnectionNegotiator.h:40
MCAPI void $OnFailure(::webrtc::RTCError error)
MCAPI void $OnSuccess(::webrtc::SessionDescriptionInterface *description)
Definition PeerConnectionNegotiator.h:73
MCAPI void $OnSetLocalDescriptionComplete(::webrtc::RTCError result)
Definition PeerConnectionNegotiator.h:102
MCAPI void $OnSetRemoteDescriptionComplete(::webrtc::RTCError result)