LeviLamina
Loading...
Searching...
No Matches
AudioRtpSender.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/DtmfProviderInterface.h"
7#include "mc/external/webrtc/MediaType.h"
8#include "mc/external/webrtc/RtpSenderBase.h"
9#include "mc/external/webrtc/scoped_refptr.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace webrtc { class DtmfSenderInterface; }
14namespace webrtc { class Environment; }
15namespace webrtc { class LegacyStatsCollectorInterface; }
16namespace webrtc { class RTCError; }
17namespace webrtc { class Thread; }
18// clang-format on
19
20namespace webrtc {
21
22class AudioRtpSender : public ::webrtc::DtmfProviderInterface, public ::webrtc::RtpSenderBase {
23public:
24 // member variables
25 // NOLINTBEGIN
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 AudioRtpSender& operator=(AudioRtpSender const&);
36 AudioRtpSender(AudioRtpSender const&);
37 AudioRtpSender();
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 virtual ~AudioRtpSender() /*override*/;
43
44 virtual bool CanInsertDtmf() /*override*/;
45
46 virtual bool InsertDtmf(int code, int duration) /*override*/;
47
48 virtual void OnChanged() /*override*/;
49
50 virtual ::webrtc::MediaType media_type() const /*override*/;
51
52 virtual ::std::string track_kind() const /*override*/;
53
54 virtual ::webrtc::scoped_refptr<::webrtc::DtmfSenderInterface> GetDtmfSender() const /*override*/;
55
56 virtual ::webrtc::RTCError GenerateKeyFrame(::std::vector<::std::string> const& rids) /*override*/;
57
58 virtual void SetSend() /*override*/;
59
60 virtual void ClearSend() /*override*/;
61
62 virtual void AttachTrack() /*override*/;
63
64 virtual void DetachTrack() /*override*/;
65
66 virtual void AddTrackToStats() /*override*/;
67
68 virtual void RemoveTrackFromStats() /*override*/;
69 // NOLINTEND
70
71public:
72 // member functions
73 // NOLINTBEGIN
75 ::webrtc::Environment const& env,
76 ::webrtc::Thread* worker_thread,
77 ::std::string const& id,
80 );
81 // NOLINTEND
82
83public:
84 // static functions
85 // NOLINTBEGIN
86 MCNAPI static ::webrtc::scoped_refptr<::webrtc::AudioRtpSender> Create(
87 ::webrtc::Environment const& env,
88 ::webrtc::Thread* worker_thread,
89 ::std::string const& id,
92 );
93 // NOLINTEND
94
95public:
96 // constructor thunks
97 // NOLINTBEGIN
98 MCNAPI void* $ctor(
99 ::webrtc::Environment const& env,
100 ::webrtc::Thread* worker_thread,
101 ::std::string const& id,
104 );
105 // NOLINTEND
106
107public:
108 // destructor thunk
109 // NOLINTBEGIN
110 MCNAPI void $dtor();
111 // NOLINTEND
112
113public:
114 // virtual function thunks
115 // NOLINTBEGIN
116 MCNAPI bool $CanInsertDtmf();
117
118 MCNAPI bool $InsertDtmf(int code, int duration);
119
120 MCNAPI void $OnChanged();
121
122 MCNAPI ::webrtc::MediaType $media_type() const;
123
124 MCNAPI ::std::string $track_kind() const;
125
126 MCNAPI ::webrtc::scoped_refptr<::webrtc::DtmfSenderInterface> $GetDtmfSender() const;
127
128 MCNAPI ::webrtc::RTCError $GenerateKeyFrame(::std::vector<::std::string> const& rids);
129
130 MCNAPI void $SetSend();
131
132 MCNAPI void $ClearSend();
133
134 MCNAPI void $AttachTrack();
135
136 MCNAPI void $DetachTrack();
137
138 MCNAPI void $AddTrackToStats();
139
141
142
143 // NOLINTEND
144
145public:
146 // vftables
147 // NOLINTBEGIN
148 MCNAPI static void** $vftableForFrameTransformerHost();
149
150 MCNAPI static void** $vftableForRefCountInterface();
151
152 MCNAPI static void** $vftableForRtpSenderBase();
153
154 MCNAPI static void** $vftableForDtmfProviderInterface();
155 // NOLINTEND
156};
157
158} // namespace webrtc
MCAPI::std::string $track_kind() const
static MCAPI void ** $vftableForRtpSenderBase()
MCAPI void $AddTrackToStats()
MCAPI AudioRtpSender(::webrtc::Environment const &env, ::webrtc::Thread *worker_thread, ::std::string const &id, ::webrtc::LegacyStatsCollectorInterface *legacy_stats, ::webrtc::RtpSenderBase::SetStreamsObserver *set_streams_observer)
static MCAPI void ** $vftableForRefCountInterface()
MCAPI::webrtc::RTCError $GenerateKeyFrame(::std::vector<::std::string > const &rids)
MCAPI void $DetachTrack()
MCAPI::webrtc::MediaType $media_type() const
MCAPI void $RemoveTrackFromStats()
MCAPI bool $InsertDtmf(int code, int duration)
MCAPI void * $ctor(::webrtc::Environment const &env, ::webrtc::Thread *worker_thread, ::std::string const &id, ::webrtc::LegacyStatsCollectorInterface *legacy_stats, ::webrtc::RtpSenderBase::SetStreamsObserver *set_streams_observer)
MCAPI ::webrtc::scoped_refptr<::webrtc::DtmfSenderInterface > $GetDtmfSender() const
MCAPI void $ClearSend()
static MCAPI void ** $vftableForDtmfProviderInterface()
static MCAPI void ** $vftableForFrameTransformerHost()
static MCAPI ::webrtc::scoped_refptr<::webrtc::AudioRtpSender > Create(::webrtc::Environment const &env, ::webrtc::Thread *worker_thread, ::std::string const &id, ::webrtc::LegacyStatsCollectorInterface *stats, ::webrtc::RtpSenderBase::SetStreamsObserver *set_streams_observer)
MCAPI void $OnChanged()
MCAPI bool $CanInsertDtmf()
MCAPI void $AttachTrack()
Definition DtmfProviderInterface.h:7
Definition DtmfSenderInterface.h:15
Definition Environment.h:7
Definition LegacyStatsCollectorInterface.h:14
Definition RTCError.h:10
Definition RtpSenderBase.h:38
Definition RtpSenderBase.h:30
Definition Thread.h:20
Definition code.h:5
Definition Alias.h:14