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 MCAPI ~Options();
59 // NOLINTEND
60
61 public:
62 // destructor thunk
63 // NOLINTBEGIN
64 MCAPI 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>
89 CreatePeerConnection(::webrtc::PeerConnectionInterface::RTCConfiguration const&, ::std::unique_ptr<::cricket::PortAllocator>, ::std::unique_ptr<::rtc::RTCCertificateGeneratorInterface>, ::webrtc::PeerConnectionObserver*);
90
91 // vIndex: 7
92 virtual ::webrtc::RtpCapabilities GetRtpSenderCapabilities(::cricket::MediaType) const;
93
94 // vIndex: 8
95 virtual ::webrtc::RtpCapabilities GetRtpReceiverCapabilities(::cricket::MediaType) const;
96
97 // vIndex: 9
98 virtual ::webrtc::scoped_refptr<::webrtc::MediaStreamInterface> CreateLocalMediaStream(::std::string const&) = 0;
99
100 // vIndex: 10
101 virtual ::webrtc::scoped_refptr<::webrtc::AudioSourceInterface>
102 CreateAudioSource(::cricket::AudioOptions const&) = 0;
103
104 // vIndex: 12
105 virtual ::webrtc::scoped_refptr<::webrtc::VideoTrackInterface>
106 CreateVideoTrack(::webrtc::scoped_refptr<::webrtc::VideoTrackSourceInterface>, ::std::string_view) = 0;
107
108 // vIndex: 11
109 virtual ::webrtc::scoped_refptr<::webrtc::VideoTrackInterface>
110 CreateVideoTrack(::std::string const& label, ::webrtc::VideoTrackSourceInterface* source);
111
112 // vIndex: 13
113 virtual ::webrtc::scoped_refptr<::webrtc::AudioTrackInterface>
114 CreateAudioTrack(::std::string const&, ::webrtc::AudioSourceInterface*) = 0;
115
116 // vIndex: 14
117 virtual bool StartAecDump(::_iobuf*, int64);
118
119 // vIndex: 15
120 virtual void StopAecDump() = 0;
121
122 // vIndex: 2
123 virtual ~PeerConnectionFactoryInterface() /*override*/ = default;
124 // NOLINTEND
125
126public:
127 // destructor thunk
128 // NOLINTBEGIN
129
130 // NOLINTEND
131
132public:
133 // virtual function thunks
134 // NOLINTBEGIN
135 MCAPI ::webrtc::scoped_refptr<::webrtc::VideoTrackInterface>
136 $CreateVideoTrack(::std::string const& label, ::webrtc::VideoTrackSourceInterface* source);
137 // NOLINTEND
138};
139
140} // namespace webrtc
Definition AudioSourceInterface.h:16
Definition PeerConnectionFactoryInterface.h:38
Definition PeerConnectionFactoryInterface.h:30
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