LeviLamina
Loading...
Searching...
No Matches
RtpExtension.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace webrtc {
6
8public:
9 // RtpExtension inner types define
10 enum class Filter : int {
11 KDiscardEncryptedExtension = 0,
12 KPreferEncryptedExtension = 1,
13 KRequireEncryptedExtension = 2,
14 };
15
16public:
17 // member variables
18 // NOLINTBEGIN
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCAPI RtpExtension();
32
33 MCAPI RtpExtension(::std::string_view, int);
34
35 MCAPI RtpExtension(::std::string_view, int, bool);
36
37 MCAPI ::std::string ToString() const;
38
39 MCAPI ::webrtc::RtpExtension& operator=(::webrtc::RtpExtension const&);
40
41 MCAPI ~RtpExtension();
42 // NOLINTEND
43
44public:
45 // static functions
46 // NOLINTBEGIN
47 MCAPI static ::std::vector<::webrtc::RtpExtension> const
48 DeduplicateHeaderExtensions(::std::vector<::webrtc::RtpExtension> const&, ::webrtc::RtpExtension::Filter);
49
50 MCAPI static ::webrtc::RtpExtension const* FindHeaderExtensionByUri(
51 ::std::vector<::webrtc::RtpExtension> const&,
52 ::std::string_view,
53 ::webrtc::RtpExtension::Filter
54 );
55
56 MCAPI static ::webrtc::RtpExtension const*
57 FindHeaderExtensionByUriAndEncryption(::std::vector<::webrtc::RtpExtension> const&, ::std::string_view, bool);
58
59 MCAPI static bool IsEncryptionSupported(::std::string_view);
60 // NOLINTEND
61
62public:
63 // static variables
64 // NOLINTBEGIN
65 MCAPI static ::std::add_lvalue_reference_t<char const[]> kAbsSendTimeUri();
66
67 MCAPI static ::std::add_lvalue_reference_t<char const[]> kAbsoluteCaptureTimeUri();
68
69 MCAPI static ::std::add_lvalue_reference_t<char const[]> kDependencyDescriptorUri();
70
71 MCAPI static ::std::add_lvalue_reference_t<char const[]> kEncryptHeaderExtensionsUri();
72
73 MCAPI static ::std::add_lvalue_reference_t<char const[]> kGenericFrameDescriptorUri00();
74
75 MCAPI static ::std::add_lvalue_reference_t<char const[]> kMidUri();
76
77 MCAPI static ::std::add_lvalue_reference_t<char const[]> kRepairedRidUri();
78
79 MCAPI static ::std::add_lvalue_reference_t<char const[]> kRidUri();
80
81 MCAPI static ::std::add_lvalue_reference_t<char const[]> kTimestampOffsetUri();
82
83 MCAPI static ::std::add_lvalue_reference_t<char const[]> kTransportSequenceNumberUri();
84
85 MCAPI static ::std::add_lvalue_reference_t<char const[]> kVideoLayersAllocationUri();
86 // NOLINTEND
87
88public:
89 // constructor thunks
90 // NOLINTBEGIN
91 MCAPI void* $ctor();
92
93 MCAPI void* $ctor(::std::string_view, int);
94
95 MCAPI void* $ctor(::std::string_view, int, bool);
96 // NOLINTEND
97
98public:
99 // destructor thunk
100 // NOLINTBEGIN
101 MCAPI void $dtor();
102 // NOLINTEND
103};
104
105} // namespace webrtc
Definition Filter.h:6
Definition Alias.h:14
Definition RtpExtension.h:7