3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/nether_net/ContextProxy.h"
7#include "mc/deps/nether_net/ESendType.h"
8#include "mc/deps/nether_net/ESessionError.h"
9#include "mc/deps/nether_net/SignalingChannelId.h"
10#include "mc/external/webrtc/PeerConnectionInterface.h"
11#include "mc/external/webrtc/PeerConnectionObserver.h"
12#include "mc/external/webrtc/scoped_refptr.h"
16namespace NetherNet {
class CandidateAdd; }
17namespace NetherNet {
class ConnectResponse; }
18namespace NetherNet {
class NetworkSessionManager; }
19namespace NetherNet {
struct NetworkID; }
20namespace cricket {
class Candidate; }
21namespace webrtc {
class DataChannelInterface; }
22namespace webrtc {
class IceCandidateInterface; }
23namespace webrtc {
class SessionDescriptionInterface; }
24namespace webrtc {
class StatsReport; }
37 enum class ENegotiationState :
int {
39 WaitingForResponse = 1,
99 virtual void OnSignalingChange(::webrtc::PeerConnectionInterface::SignalingState) ;
105 virtual void OnRenegotiationNeeded() ;
108 virtual void OnIceConnectionChange(::webrtc::PeerConnectionInterface::IceConnectionState new_state) ;
111 virtual void OnConnectionChange(::webrtc::PeerConnectionInterface::PeerConnectionState new_state) ;
114 virtual void OnIceGatheringChange(::webrtc::PeerConnectionInterface::IceGatheringState new_state) ;
120 virtual void OnIceCandidatesRemoved(::std::vector<::cricket::Candidate>
const&) ;
123 virtual void OnIceConnectionReceivingChange(
bool) ;
137 uint64
const& connectionID,
138 ::std::unique_ptr<::webrtc::SessionDescriptionInterface> pSessionDescription,
139 ::NetherNet::SignalingChannelId preference
144 MCNAPI ::NetherNet::ESessionError
IsDeadSession(::std::chrono::seconds negotiationTimeout);
156 MCNAPI
void SendPacket(
char const* pbData, uint cbData, ::NetherNet::ESendType eSendType);
Definition CandidateAdd.h:7
Definition ConnectResponse.h:7
Definition ContextProxy.h:18
Definition NetworkSessionManager.h:28
Definition NetworkSession.h:29
MCAPI void $OnConnectionChange(::webrtc::PeerConnectionInterface::PeerConnectionState new_state)
MCAPI void ProcessSignal(::NetherNet::CandidateAdd const &signal)
MCAPI void $OnRenegotiationNeeded()
MCAPI::NetherNet::ESessionError IsDeadSession(::std::chrono::seconds negotiationTimeout)
MCAPI void CheckSendReliableData()
MCAPI void CheckUpdateStats()
MCAPI void $OnIceConnectionReceivingChange(bool)
MCAPI void SendPacket(char const *pbData, uint cbData, ::NetherNet::ESendType eSendType)
MCAPI void $OnIceCandidatesRemoved(::std::vector<::cricket::Candidate > const &)
MCAPI void $OnSignalingChange(::webrtc::PeerConnectionInterface::SignalingState)
MCAPI void $OnIceConnectionChange(::webrtc::PeerConnectionInterface::IceConnectionState new_state)
MCAPI void OnStatsRequestComplete(::std::vector<::webrtc::StatsReport const * > const &reports)
MCAPI void UpdateSessionActivity()
MCAPI void UpdateDataChannelStates()
static MCAPI void ** $vftableForPeerConnectionObserver()
static MCAPI void ** $vftableForContextProxy()
MCAPI void InitializeOutgoing(::NetherNet::NetworkID remoteID)
MCAPI void MaybeProcessIceCandidates()
MCAPI void * $ctor(::NetherNet::ContextProxy const &ctx, ::NetherNet::NetworkSessionManager &manager)
MCAPI::NetherNet::ESessionError InitializeIncoming(::NetherNet::NetworkID remoteID, uint64 const &connectionID, ::std::unique_ptr<::webrtc::SessionDescriptionInterface > pSessionDescription, ::NetherNet::SignalingChannelId preference)
MCAPI void $OnIceCandidate(::webrtc::IceCandidateInterface const *candidate)
MCAPI NetworkSession(::NetherNet::ContextProxy const &ctx, ::NetherNet::NetworkSessionManager &manager)
MCAPI void $OnIceGatheringChange(::webrtc::PeerConnectionInterface::IceGatheringState new_state)
MCAPI void TrySendSessionResponse()
MCAPI void ProcessSignal(::NetherNet::ConnectResponse const &signal)
MCAPI void $OnDataChannel(::webrtc::scoped_refptr<::webrtc::DataChannelInterface > pDataChannel)
MCAPI void EnterNewNegotiationState(::NetherNet::NetworkSession::ENegotiationState negotiationState)
Definition IceCandidateInterface.h:12
Definition PeerConnectionObserver.h:22
Definition scoped_refptr.h:8
Definition NetworkID.h:12