LeviLamina
Loading...
Searching...
No Matches
PeerConnectionFactory.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/cricket/MediaType.h"
7#include "mc/external/webrtc/PeerConnectionFactoryInterface.h"
8#include "mc/external/webrtc/PeerConnectionInterface.h"
9#include "mc/external/webrtc/RTCErrorOr.h"
10#include "mc/external/webrtc/scoped_refptr.h"
11
12// auto generated forward declare list
13// clang-format off
14namespace cricket { class MediaEngineInterface; }
15namespace cricket { struct AudioOptions; }
16namespace webrtc { class AudioSourceInterface; }
17namespace webrtc { class AudioTrackInterface; }
18namespace webrtc { class Call; }
19namespace webrtc { class ConnectionContext; }
20namespace webrtc { class Environment; }
21namespace webrtc { class MediaStreamInterface; }
22namespace webrtc { class PeerConnectionInterface; }
23namespace webrtc { class VideoTrackInterface; }
24namespace webrtc { class VideoTrackSourceInterface; }
25namespace webrtc { struct PeerConnectionDependencies; }
26namespace webrtc { struct PeerConnectionFactoryDependencies; }
27namespace webrtc { struct RtpCapabilities; }
28// clang-format on
29
30namespace webrtc {
31
33public:
34 // member variables
35 // NOLINTBEGIN
46 // NOLINTEND
47
48public:
49 // prevent constructor by default
53
54public:
55 // virtual functions
56 // NOLINTBEGIN
57 // vIndex: 3
58 virtual void SetOptions(::webrtc::PeerConnectionFactoryInterface::Options const& options) /*override*/;
59
60 // vIndex: 4
61 virtual ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::PeerConnectionInterface>>
62 CreatePeerConnectionOrError(
65 ) /*override*/;
66
67 // vIndex: 7
68 virtual ::webrtc::RtpCapabilities GetRtpSenderCapabilities(::cricket::MediaType kind) const /*override*/;
69
70 // vIndex: 8
71 virtual ::webrtc::RtpCapabilities GetRtpReceiverCapabilities(::cricket::MediaType kind) const /*override*/;
72
73 // vIndex: 9
74 virtual ::webrtc::scoped_refptr<::webrtc::MediaStreamInterface>
75 CreateLocalMediaStream(::std::string const& stream_id) /*override*/;
76
77 // vIndex: 10
78 virtual ::webrtc::scoped_refptr<::webrtc::AudioSourceInterface>
79 CreateAudioSource(::cricket::AudioOptions const& options) /*override*/;
80
81 // vIndex: 12
82 virtual ::webrtc::scoped_refptr<::webrtc::VideoTrackInterface> CreateVideoTrack(
84 ::std::string_view id
85 ) /*override*/;
86
87 // vIndex: 13
88 virtual ::webrtc::scoped_refptr<::webrtc::AudioTrackInterface>
89 CreateAudioTrack(::std::string const& id, ::webrtc::AudioSourceInterface* source) /*override*/;
90
91 // vIndex: 14
92 virtual bool StartAecDump(::_iobuf* file, int64 max_size_bytes) /*override*/;
93
94 // vIndex: 15
95 virtual void StopAecDump() /*override*/;
96
97 // vIndex: 2
98 virtual ~PeerConnectionFactory() /*override*/;
99 // NOLINTEND
100
101public:
102 // member functions
103 // NOLINTBEGIN
104 MCNAPI ::std::unique_ptr<::webrtc::Call> CreateCall_w(
105 ::webrtc::Environment const& env,
107 );
108
109 MCNAPI bool IsTrialEnabled(::std::string_view key) const;
110
112
116 );
117
118 MCNAPI ::cricket::MediaEngineInterface* media_engine() const;
119 // NOLINTEND
120
121public:
122 // constructor thunks
123 // NOLINTBEGIN
125
126 MCNAPI void* $ctor(
129 );
130 // NOLINTEND
131
132public:
133 // destructor thunk
134 // NOLINTBEGIN
135 MCNAPI void $dtor();
136 // NOLINTEND
137
138public:
139 // virtual function thunks
140 // NOLINTBEGIN
142
143 MCNAPI ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::PeerConnectionInterface>>
147 );
148
149 MCNAPI ::webrtc::RtpCapabilities $GetRtpSenderCapabilities(::cricket::MediaType kind) const;
150
151 MCNAPI ::webrtc::RtpCapabilities $GetRtpReceiverCapabilities(::cricket::MediaType kind) const;
152
153 MCNAPI ::webrtc::scoped_refptr<::webrtc::MediaStreamInterface>
154 $CreateLocalMediaStream(::std::string const& stream_id);
155
156 MCNAPI ::webrtc::scoped_refptr<::webrtc::AudioSourceInterface>
158
159 MCNAPI ::webrtc::scoped_refptr<::webrtc::VideoTrackInterface>
161
162 MCNAPI ::webrtc::scoped_refptr<::webrtc::AudioTrackInterface>
163 $CreateAudioTrack(::std::string const& id, ::webrtc::AudioSourceInterface* source);
164
165 MCNAPI bool $StartAecDump(::_iobuf* file, int64 max_size_bytes);
166
167 MCNAPI void $StopAecDump();
168 // NOLINTEND
169
170public:
171 // vftables
172 // NOLINTBEGIN
173 MCNAPI static void** $vftable();
174 // NOLINTEND
175};
176
177} // namespace webrtc
Definition AudioSourceInterface.h:16
Definition Environment.h:7
Definition PeerConnectionFactoryInterface.h:38
Definition PeerConnectionFactoryInterface.h:30
Definition PeerConnectionFactory.h:32
MCAPI ::webrtc::scoped_refptr<::webrtc::AudioSourceInterface > $CreateAudioSource(::cricket::AudioOptions const &options)
MCAPI bool $StartAecDump(::_iobuf *file, int64 max_size_bytes)
MCAPI ::std::unique_ptr<::webrtc::Call > CreateCall_w(::webrtc::Environment const &env, ::webrtc::PeerConnectionInterface::RTCConfiguration const &configuration)
MCAPI PeerConnectionFactory(::webrtc::PeerConnectionFactoryDependencies dependencies)
MCAPI ::webrtc::scoped_refptr<::webrtc::AudioTrackInterface > $CreateAudioTrack(::std::string const &id, ::webrtc::AudioSourceInterface *source)
MCAPI void * $ctor(::webrtc::scoped_refptr<::webrtc::ConnectionContext > context, ::webrtc::PeerConnectionFactoryDependencies *dependencies)
MCAPI::webrtc::RtpCapabilities $GetRtpReceiverCapabilities(::cricket::MediaType kind) const
MCAPI void * $ctor(::webrtc::PeerConnectionFactoryDependencies dependencies)
MCAPI PeerConnectionFactory(::webrtc::scoped_refptr<::webrtc::ConnectionContext > context, ::webrtc::PeerConnectionFactoryDependencies *dependencies)
static MCAPI void ** $vftable()
MCAPI::cricket::MediaEngineInterface * media_engine() const
MCAPI void $SetOptions(::webrtc::PeerConnectionFactoryInterface::Options const &options)
MCAPI ::webrtc::scoped_refptr<::webrtc::MediaStreamInterface > $CreateLocalMediaStream(::std::string const &stream_id)
MCAPI::webrtc::RtpCapabilities $GetRtpSenderCapabilities(::cricket::MediaType kind) const
MCAPI ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::PeerConnectionInterface > > $CreatePeerConnectionOrError(::webrtc::PeerConnectionInterface::RTCConfiguration const &configuration, ::webrtc::PeerConnectionDependencies dependencies)
MCAPI ::webrtc::scoped_refptr<::webrtc::VideoTrackInterface > $CreateVideoTrack(::webrtc::scoped_refptr<::webrtc::VideoTrackSourceInterface > source, ::std::string_view id)
MCAPI bool IsTrialEnabled(::std::string_view key) const
Definition scoped_refptr.h:8
Definition context.h:5
Definition AudioOptions.h:7
Definition Alias.h:14
Definition PeerConnectionDependencies.h:12
Definition PeerConnectionFactoryDependencies.h:7
Definition PeerConnectionInterface.h:193