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