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/cricket/MediaType.h"
7#include "mc/external/webrtc/DtmfProviderInterface.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 rtc { class Thread; }
14namespace webrtc { class DtmfSenderInterface; }
15namespace webrtc { class LegacyStatsCollectorInterface; }
16namespace webrtc { class RTCError; }
17// clang-format on
18
19namespace webrtc {
20
21class AudioRtpSender : public ::webrtc::DtmfProviderInterface, public ::webrtc::RtpSenderBase {
22public:
23 // member variables
24 // NOLINTBEGIN
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
34 AudioRtpSender& operator=(AudioRtpSender const&);
35 AudioRtpSender(AudioRtpSender const&);
36 AudioRtpSender();
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
41 virtual ~AudioRtpSender() /*override*/;
42
43 virtual bool CanInsertDtmf() /*override*/;
44
45 virtual bool InsertDtmf(int code, int duration) /*override*/;
46
47 virtual void OnChanged() /*override*/;
48
49 virtual ::cricket::MediaType media_type() const /*override*/;
50
51 virtual ::std::string track_kind() const /*override*/;
52
53 virtual ::webrtc::scoped_refptr<::webrtc::DtmfSenderInterface> GetDtmfSender() const /*override*/;
54
55 virtual ::webrtc::RTCError GenerateKeyFrame(::std::vector<::std::string> const& rids) /*override*/;
56
57 virtual void SetSend() /*override*/;
58
59 virtual void ClearSend() /*override*/;
60
61 virtual void AttachTrack() /*override*/;
62
63 virtual void DetachTrack() /*override*/;
64
65 virtual void AddTrackToStats() /*override*/;
66
67 virtual void RemoveTrackFromStats() /*override*/;
68 // NOLINTEND
69
70public:
71 // member functions
72 // NOLINTBEGIN
74 ::rtc::Thread* worker_thread,
75 ::std::string const& id,
78 );
79 // NOLINTEND
80
81public:
82 // static functions
83 // NOLINTBEGIN
84 MCNAPI static ::webrtc::scoped_refptr<::webrtc::AudioRtpSender> Create(
85 ::rtc::Thread* worker_thread,
86 ::std::string const& id,
89 );
90 // NOLINTEND
91
92public:
93 // constructor thunks
94 // NOLINTBEGIN
95 MCNAPI void* $ctor(
96 ::rtc::Thread* worker_thread,
97 ::std::string const& id,
100 );
101 // NOLINTEND
102
103public:
104 // destructor thunk
105 // NOLINTBEGIN
106 MCNAPI void $dtor();
107 // NOLINTEND
108
109public:
110 // virtual function thunks
111 // NOLINTBEGIN
112 MCNAPI bool $CanInsertDtmf();
113
114 MCNAPI bool $InsertDtmf(int code, int duration);
115
116 MCNAPI void $OnChanged();
117
118 MCNAPI ::cricket::MediaType $media_type() const;
119
120 MCNAPI ::std::string $track_kind() const;
121
122 MCNAPI ::webrtc::scoped_refptr<::webrtc::DtmfSenderInterface> $GetDtmfSender() const;
123
124 MCNAPI ::webrtc::RTCError $GenerateKeyFrame(::std::vector<::std::string> const& rids);
125
126 MCNAPI void $SetSend();
127
128 MCNAPI void $ClearSend();
129
130 MCNAPI void $AttachTrack();
131
132 MCNAPI void $DetachTrack();
133
134 MCNAPI void $AddTrackToStats();
135
137
138
139 // NOLINTEND
140
141public:
142 // vftables
143 // NOLINTBEGIN
144 MCNAPI static void** $vftableForObserverInterface();
145
146 MCNAPI static void** $vftable();
147
148 MCNAPI static void** $vftableForRtpSenderInternal();
149 // NOLINTEND
150};
151
152} // namespace webrtc
Definition Thread.h:20
MCAPI::std::string $track_kind() const
static MCAPI void ** $vftableForRtpSenderInternal()
MCAPI void $AddTrackToStats()
static MCAPI void ** $vftable()
MCAPI::webrtc::RTCError $GenerateKeyFrame(::std::vector<::std::string > const &rids)
MCAPI void $DetachTrack()
MCAPI void $RemoveTrackFromStats()
MCAPI void * $ctor(::rtc::Thread *worker_thread, ::std::string const &id, ::webrtc::LegacyStatsCollectorInterface *legacy_stats, ::webrtc::RtpSenderBase::SetStreamsObserver *set_streams_observer)
MCAPI bool $InsertDtmf(int code, int duration)
MCAPI ::webrtc::scoped_refptr<::webrtc::DtmfSenderInterface > $GetDtmfSender() const
MCAPI void $ClearSend()
static MCAPI ::webrtc::scoped_refptr<::webrtc::AudioRtpSender > Create(::rtc::Thread *worker_thread, ::std::string const &id, ::webrtc::LegacyStatsCollectorInterface *stats, ::webrtc::RtpSenderBase::SetStreamsObserver *set_streams_observer)
MCAPI::cricket::MediaType $media_type() const
MCAPI AudioRtpSender(::rtc::Thread *worker_thread, ::std::string const &id, ::webrtc::LegacyStatsCollectorInterface *legacy_stats, ::webrtc::RtpSenderBase::SetStreamsObserver *set_streams_observer)
static MCAPI void ** $vftableForObserverInterface()
MCAPI void $OnChanged()
MCAPI bool $CanInsertDtmf()
MCAPI void $AttachTrack()
Definition DtmfProviderInterface.h:7
Definition DtmfSenderInterface.h:15
Definition LegacyStatsCollectorInterface.h:14
Definition RTCError.h:10
Definition RtpSenderBase.h:36
Definition RtpSenderBase.h:28
Definition code.h:5
Definition Alias.h:14