LeviLamina
Loading...
Searching...
No Matches
ClientNegotiatorNoTrickleIce.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/nether_net/ClientNegotiator.h"
7#include "mc/deps/nether_net/ESessionError.h"
8#include "mc/external/webrtc/PeerConnectionInterface.h"
9#include "mc/external/webrtc/scoped_refptr.h"
10#include "mc/platform/Result.h"
11#include "mc/platform/brstd/move_only_function.h"
12
13// auto generated forward declare list
14// clang-format off
15namespace webrtc { class IceCandidate; }
16namespace webrtc { class PeerConnectionInterface; }
17namespace webrtc { class RTCError; }
18// clang-format on
19
20namespace NetherNet {
21
22class ClientNegotiatorNoTrickleIce : public ::NetherNet::ClientNegotiator {
23public:
24 // member variables
25 // NOLINTBEGIN
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 ClientNegotiatorNoTrickleIce& operator=(ClientNegotiatorNoTrickleIce const&);
33 ClientNegotiatorNoTrickleIce(ClientNegotiatorNoTrickleIce const&);
34 ClientNegotiatorNoTrickleIce();
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 virtual void createOffer(
43 )>&& onComplete
44 ) /*override*/;
45
46 virtual void _onSetLocalDescription(::webrtc::RTCError result) /*override*/;
47
48 virtual void _onLocalIceCandidate(::webrtc::IceCandidate const* iceCandidate) /*override*/;
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCNAPI void _onIceGatheringChange(::webrtc::PeerConnectionInterface::IceGatheringState newState);
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
60 MCNAPI void $createOffer(
64 )>&& onComplete
65 );
66
68
69 MCNAPI void $_onLocalIceCandidate(::webrtc::IceCandidate const* iceCandidate);
70
71
72 // NOLINTEND
73};
74
75} // namespace NetherNet
Definition Result.h:9
MCAPI void $_onLocalIceCandidate(::webrtc::IceCandidate const *iceCandidate)
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 $_onSetLocalDescription(::webrtc::RTCError result)
MCAPI void _onIceGatheringChange(::webrtc::PeerConnectionInterface::IceGatheringState newState)
Definition ClientNegotiator.h:32
Definition move_only_function.h:9
Definition IceCandidate.h:12
Definition PeerConnectionInterface.h:57
Definition RTCError.h:10
Definition scoped_refptr.h:8
Definition Alias.h:14
Definition PeerConnectionInterface.h:174