LeviLamina
Loading...
Searching...
No Matches
PeerConnectionFactoryInterface.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/PeerConnectionInterface.h"
8#include "mc/external/webrtc/RTCErrorOr.h"
9#include "mc/external/webrtc/RefCountInterface.h"
10#include "mc/external/webrtc/scoped_refptr.h"
11
12// auto generated forward declare list
13// clang-format off
14namespace cricket { class PortAllocator; }
15namespace cricket { struct AudioOptions; }
16namespace rtc { class RTCCertificateGeneratorInterface; }
17namespace webrtc { class AudioSourceInterface; }
18namespace webrtc { class AudioTrackInterface; }
19namespace webrtc { class MediaStreamInterface; }
20namespace webrtc { class PeerConnectionInterface; }
21namespace webrtc { class PeerConnectionObserver; }
22namespace webrtc { class VideoTrackInterface; }
23namespace webrtc { class VideoTrackSourceInterface; }
24namespace webrtc { struct PeerConnectionDependencies; }
25namespace webrtc { struct RtpCapabilities; }
26// clang-format on
27
28namespace webrtc {
29
31public:
32 // PeerConnectionFactoryInterface inner types declare
33 // clang-format off
34 class Options;
35 // clang-format on
36
37 // PeerConnectionFactoryInterface inner types define
38 class Options {
39 public:
40 // member variables
41 // NOLINTBEGIN
47 // NOLINTEND
48
49 public:
50 // prevent constructor by default
51 Options& operator=(Options const&);
52 Options(Options const&);
53 Options();
54
55 public:
56 // member functions
57 // NOLINTBEGIN
58 MCNAPI ~Options();
59 // NOLINTEND
60
61 public:
62 // destructor thunk
63 // NOLINTBEGIN
64 MCNAPI void $dtor();
65 // NOLINTEND
66 };
67
68public:
69 // virtual functions
70 // NOLINTBEGIN
71 // vIndex: 3
72 virtual void SetOptions(::webrtc::PeerConnectionFactoryInterface::Options const&) = 0;
73
74 // vIndex: 4
75 virtual ::webrtc::RTCErrorOr<::webrtc::scoped_refptr<::webrtc::PeerConnectionInterface>>
76 CreatePeerConnectionOrError(
79 );
80
81 // vIndex: 6
82 virtual ::webrtc::scoped_refptr<::webrtc::PeerConnectionInterface> CreatePeerConnection(
85 );
86
87 // vIndex: 5
88 virtual ::webrtc::scoped_refptr<::webrtc::PeerConnectionInterface> CreatePeerConnection(
90 ::std::unique_ptr<::cricket::PortAllocator>,
91 ::std::unique_ptr<::rtc::RTCCertificateGeneratorInterface>,
93 );
94
95 // vIndex: 7
96 virtual ::webrtc::RtpCapabilities GetRtpSenderCapabilities(::cricket::MediaType) const;
97
98 // vIndex: 8
99 virtual ::webrtc::RtpCapabilities GetRtpReceiverCapabilities(::cricket::MediaType) const;
100
101 // vIndex: 9
102 virtual ::webrtc::scoped_refptr<::webrtc::MediaStreamInterface> CreateLocalMediaStream(::std::string const&) = 0;
103
104 // vIndex: 10
105 virtual ::webrtc::scoped_refptr<::webrtc::AudioSourceInterface>
106 CreateAudioSource(::cricket::AudioOptions const&) = 0;
107
108 // vIndex: 12
109 virtual ::webrtc::scoped_refptr<::webrtc::VideoTrackInterface>
110 CreateVideoTrack(::webrtc::scoped_refptr<::webrtc::VideoTrackSourceInterface>, ::std::string_view) = 0;
111
112 // vIndex: 11
113 virtual ::webrtc::scoped_refptr<::webrtc::VideoTrackInterface>
114 CreateVideoTrack(::std::string const& label, ::webrtc::VideoTrackSourceInterface* source);
115
116 // vIndex: 13
117 virtual ::webrtc::scoped_refptr<::webrtc::AudioTrackInterface>
118 CreateAudioTrack(::std::string const&, ::webrtc::AudioSourceInterface*) = 0;
119
120 // vIndex: 14
121 virtual bool StartAecDump(::_iobuf*, int64);
122
123 // vIndex: 15
124 virtual void StopAecDump() = 0;
125
126 // vIndex: 2
127 virtual ~PeerConnectionFactoryInterface() /*override*/ = default;
128 // NOLINTEND
129
130public:
131 // virtual function thunks
132 // NOLINTBEGIN
133 MCNAPI ::webrtc::scoped_refptr<::webrtc::VideoTrackInterface>
134 $CreateVideoTrack(::std::string const& label, ::webrtc::VideoTrackSourceInterface* source);
135 // NOLINTEND
136};
137
138} // namespace webrtc
Definition AudioSourceInterface.h:16
Definition PeerConnectionFactoryInterface.h:38
Definition PeerConnectionFactoryInterface.h:30
MCAPI ::webrtc::scoped_refptr<::webrtc::VideoTrackInterface > $CreateVideoTrack(::std::string const &label, ::webrtc::VideoTrackSourceInterface *source)
Definition PeerConnectionObserver.h:22
Definition RefCountInterface.h:10
Definition VideoTrackSourceInterface.h:20
Definition scoped_refptr.h:8
Definition AudioOptions.h:7
Definition Alias.h:14
Definition PeerConnectionDependencies.h:12
Definition PeerConnectionInterface.h:193