LeviLamina
Loading...
Searching...
No Matches
MediaContentDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/MediaType.h"
7#include "mc/external/webrtc/RtcpFeedbackType.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace webrtc { class AudioContentDescription; }
12namespace webrtc { class SctpDataContentDescription; }
13namespace webrtc { class UnsupportedContentDescription; }
14namespace webrtc { class VideoContentDescription; }
15namespace webrtc { struct RtpExtension; }
16// clang-format on
17
18namespace webrtc {
19
21public:
22 // MediaContentDescription inner types define
23 enum class ExtmapAllowMixed : int {
24 KNo = 0,
25 KSession = 1,
26 KMedia = 2,
27 };
28
29public:
30 // member variables
31 // NOLINTBEGIN
48 // NOLINTEND
49
50public:
51 // prevent constructor by default
53
54public:
55 // virtual functions
56 // NOLINTBEGIN
58
59 virtual ::webrtc::MediaType type() const = 0;
60
61 virtual ::webrtc::AudioContentDescription* as_audio();
62
63 virtual ::webrtc::AudioContentDescription const* as_audio() const;
64
65 virtual ::webrtc::VideoContentDescription* as_video();
66
67 virtual ::webrtc::VideoContentDescription const* as_video() const;
68
69 virtual ::webrtc::SctpDataContentDescription* as_sctp();
70
71 virtual ::webrtc::SctpDataContentDescription const* as_sctp() const;
72
73 virtual ::webrtc::UnsupportedContentDescription* as_unsupported();
74
75 virtual ::webrtc::UnsupportedContentDescription const* as_unsupported() const;
76
77 virtual void set_protocol(::std::string_view protocol);
78
79 virtual bool has_codecs() const;
80
81 virtual ::webrtc::MediaContentDescription* CloneInternal() const = 0;
82 // NOLINTEND
83
84public:
85 // member functions
86 // NOLINTBEGIN
88
90
92
93 MCNAPI ::std::optional<::webrtc::RtcpFeedbackType> preferred_rtcp_cc_ack_type() const;
94
95 MCNAPI void set_extmap_allow_mixed_enum(::webrtc::MediaContentDescription::ExtmapAllowMixed new_extmap_allow_mixed);
96 // NOLINTEND
97
98public:
99 // constructor thunks
100 // NOLINTBEGIN
101 MCNAPI void* $ctor();
102
104 // NOLINTEND
105
106public:
107 // destructor thunk
108 // NOLINTBEGIN
109 MCNAPI void $dtor();
110 // NOLINTEND
111
112public:
113 // virtual function thunks
114 // NOLINTBEGIN
115 MCNAPI ::webrtc::AudioContentDescription* $as_audio();
116
117 MCNAPI ::webrtc::AudioContentDescription const* $as_audio() const;
118
119 MCNAPI ::webrtc::VideoContentDescription* $as_video();
120
121 MCNAPI ::webrtc::VideoContentDescription const* $as_video() const;
122
123 MCNAPI ::webrtc::SctpDataContentDescription* $as_sctp();
124
125 MCNAPI ::webrtc::SctpDataContentDescription const* $as_sctp() const;
126
127 MCNAPI ::webrtc::UnsupportedContentDescription* $as_unsupported();
128
129 MCNAPI ::webrtc::UnsupportedContentDescription const* $as_unsupported() const;
130
131 MCNAPI void $set_protocol(::std::string_view protocol);
132
133 MCNAPI bool $has_codecs() const;
134
135
136 // NOLINTEND
137
138public:
139 // vftables
140 // NOLINTBEGIN
141 MCNAPI static void** $vftable();
142 // NOLINTEND
143};
144
145} // namespace webrtc
Definition AudioContentDescription.h:11
Definition MediaContentDescription.h:20
MCAPI void set_extmap_allow_mixed_enum(::webrtc::MediaContentDescription::ExtmapAllowMixed new_extmap_allow_mixed)
MCAPI::webrtc::AudioContentDescription * $as_audio()
MCAPI::webrtc::UnsupportedContentDescription const * $as_unsupported() const
MCAPI void * $ctor(::webrtc::MediaContentDescription const &)
MCAPI::webrtc::SctpDataContentDescription * $as_sctp()
MCAPI bool $has_codecs() const
MCAPI void $set_protocol(::std::string_view protocol)
MCAPI ::std::optional<::webrtc::RtcpFeedbackType > preferred_rtcp_cc_ack_type() const
MCAPI::webrtc::VideoContentDescription * $as_video()
MCAPI::webrtc::AudioContentDescription const * $as_audio() const
MCAPI MediaContentDescription(::webrtc::MediaContentDescription const &)
MCAPI::webrtc::SctpDataContentDescription const * $as_sctp() const
MCAPI::webrtc::UnsupportedContentDescription * $as_unsupported()
static MCAPI void ** $vftable()
MCAPI::webrtc::VideoContentDescription const * $as_video() const
MCAPI void AddRtpHeaderExtension(::webrtc::RtpExtension const &ext)
Definition SctpDataContentDescription.h:11
Definition UnsupportedContentDescription.h:11
Definition VideoContentDescription.h:11
Definition Alias.h:14
Definition RtpExtension.h:7