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&) /*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) const /*override*/;
69
70 // vIndex: 8
71 virtual ::webrtc::RtpCapabilities GetRtpReceiverCapabilities(::cricket::MediaType) const /*override*/;
72
73 // vIndex: 9
74 virtual ::webrtc::scoped_refptr<::webrtc::MediaStreamInterface>
75 CreateLocalMediaStream(::std::string const&) /*override*/;
76
77 // vIndex: 10
78 virtual ::webrtc::scoped_refptr<::webrtc::AudioSourceInterface>
79 CreateAudioSource(::cricket::AudioOptions const&) /*override*/;
80
81 // vIndex: 12
82 virtual ::webrtc::scoped_refptr<::webrtc::VideoTrackInterface>
83 CreateVideoTrack(::webrtc::scoped_refptr<::webrtc::VideoTrackSourceInterface>, ::std::string_view) /*override*/;
84
85 // vIndex: 13
86 virtual ::webrtc::scoped_refptr<::webrtc::AudioTrackInterface>
87 CreateAudioTrack(::std::string const&, ::webrtc::AudioSourceInterface*) /*override*/;
88
89 // vIndex: 14
90 virtual bool StartAecDump(::_iobuf*, int64) /*override*/;
91
92 // vIndex: 15
93 virtual void StopAecDump() /*override*/;
94
95 // vIndex: 2
96 virtual ~PeerConnectionFactory() /*override*/ = default;
97 // NOLINTEND
98
99public:
100 // member functions
101 // NOLINTBEGIN
102 MCAPI ::std::unique_ptr<::webrtc::Call>
104
105 MCAPI bool IsTrialEnabled(::std::string_view) const;
106
108
109 MCAPI
111
112 MCAPI ::cricket::MediaEngineInterface* media_engine() const;
113 // NOLINTEND
114
115public:
116 // constructor thunks
117 // NOLINTBEGIN
119
120 MCAPI void*
122 // NOLINTEND
123
124public:
125 // destructor thunk
126 // NOLINTBEGIN
127
128 // NOLINTEND
129
130public:
131 // virtual function thunks
132 // NOLINTBEGIN
133
134 // NOLINTEND
135
136public:
137 // vftables
138 // NOLINTBEGIN
139 MCAPI static void** $vftable();
140 // NOLINTEND
141};
142
143} // namespace webrtc
Definition AudioSourceInterface.h:16
Definition Environment.h:7
Definition PeerConnectionFactoryInterface.h:38
Definition PeerConnectionFactoryInterface.h:30
Definition PeerConnectionFactory.h:32
Definition scoped_refptr.h:8
Definition AudioOptions.h:7
Definition Alias.h:14
Definition PeerConnectionDependencies.h:12
Definition PeerConnectionFactoryDependencies.h:7
Definition PeerConnectionInterface.h:193