LeviLamina
Loading...
Searching...
No Matches
RtpPayloadParams.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/RTPVideoHeader.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace webrtc { class EncodedImage; }
11namespace webrtc { class FieldTrialsView; }
12namespace webrtc { struct CodecSpecificInfo; }
13namespace webrtc { struct CodecSpecificInfoH264; }
14namespace webrtc { struct CodecSpecificInfoVP8; }
15namespace webrtc { struct CodecSpecificInfoVP9; }
16namespace webrtc { struct FrameDependencyStructure; }
17namespace webrtc { struct RTPVideoHeader; }
18namespace webrtc { struct RtpPayloadState; }
19// clang-format on
20
21namespace webrtc {
22
23class RtpPayloadParams {
24public:
25 // member variables
26 // NOLINTBEGIN
38 // NOLINTEND
39
40public:
41 // prevent constructor by default
42 RtpPayloadParams& operator=(RtpPayloadParams const&);
43 RtpPayloadParams();
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCNAPI ::std::optional<::webrtc::FrameDependencyStructure>
49 GenericStructure(::webrtc::CodecSpecificInfo const* codec_specific_info);
50
51 MCNAPI void GenericToGeneric(int64 frame_id, bool is_keyframe, ::webrtc::RTPVideoHeader* rtp_video_header);
52
53 MCNAPI ::webrtc::RTPVideoHeader GetRtpVideoHeader(
54 ::webrtc::EncodedImage const& image,
55 ::webrtc::CodecSpecificInfo const* codec_specific_info,
56 ::std::optional<int64> shared_frame_id
57 );
58
59 MCNAPI void H264ToGeneric(
60 ::webrtc::CodecSpecificInfoH264 const& h264_info,
61 int64 frame_id,
62 bool is_keyframe,
63 ::webrtc::RTPVideoHeader* rtp_video_header
64 );
65
67
69
71 ::webrtc::CodecSpecificInfoVP8 const& vp8_info,
72 int64 frame_id,
73 bool is_keyframe,
74 int spatial_index,
75 int temporal_index,
76 bool layer_sync,
78 );
79
81 ::webrtc::CodecSpecificInfoVP8 const& vp8_info,
82 int64 frame_id,
83 bool is_keyframe,
84 bool layer_sync,
86 );
87
88 MCNAPI void SetGeneric(
89 ::webrtc::CodecSpecificInfo const* codec_specific_info,
90 int64 frame_id,
91 bool is_keyframe,
92 ::webrtc::RTPVideoHeader* rtp_video_header
93 );
94
95 MCNAPI void Vp8ToGeneric(
96 ::webrtc::CodecSpecificInfoVP8 const& vp8_info,
97 int64 frame_id,
98 bool is_keyframe,
99 ::webrtc::RTPVideoHeader* rtp_video_header
100 );
101
102 MCNAPI void Vp9ToGeneric(
103 ::webrtc::CodecSpecificInfoVP9 const& vp9_info,
104 int64 frame_id,
105 ::webrtc::RTPVideoHeader& rtp_video_header
106 );
107
108 MCNAPI uint ssrc() const;
109
110 MCNAPI ::webrtc::RtpPayloadState state() const;
111
113 // NOLINTEND
114
115public:
116 // constructor thunks
117 // NOLINTBEGIN
118 MCNAPI void* $ctor(::webrtc::RtpPayloadParams const&);
119
120 MCNAPI void* $ctor(uint ssrc, ::webrtc::RtpPayloadState const* state, ::webrtc::FieldTrialsView const& trials);
121 // NOLINTEND
122
123public:
124 // destructor thunk
125 // NOLINTBEGIN
126 MCNAPI void $dtor();
127 // NOLINTEND
128};
129
130} // namespace webrtc
Definition EncodedImage.h:12
Definition FieldTrialsView.h:7
Definition RtpPayloadParams.h:23
MCAPI::webrtc::RtpPayloadState state() const
MCAPI void SetDependenciesVp8Deprecated(::webrtc::CodecSpecificInfoVP8 const &vp8_info, int64 frame_id, bool is_keyframe, int spatial_index, int temporal_index, bool layer_sync, ::webrtc::RTPVideoHeader::GenericDescriptorInfo *generic)
MCAPI RtpPayloadParams(::webrtc::RtpPayloadParams const &)
MCAPI void GenericToGeneric(int64 frame_id, bool is_keyframe, ::webrtc::RTPVideoHeader *rtp_video_header)
MCAPI void Vp9ToGeneric(::webrtc::CodecSpecificInfoVP9 const &vp9_info, int64 frame_id, ::webrtc::RTPVideoHeader &rtp_video_header)
MCAPI::webrtc::RTPVideoHeader GetRtpVideoHeader(::webrtc::EncodedImage const &image, ::webrtc::CodecSpecificInfo const *codec_specific_info, ::std::optional< int64 > shared_frame_id)
MCAPI uint ssrc() const
MCAPI ::std::optional<::webrtc::FrameDependencyStructure > GenericStructure(::webrtc::CodecSpecificInfo const *codec_specific_info)
MCAPI void H264ToGeneric(::webrtc::CodecSpecificInfoH264 const &h264_info, int64 frame_id, bool is_keyframe, ::webrtc::RTPVideoHeader *rtp_video_header)
MCAPI void SetDependenciesVp8New(::webrtc::CodecSpecificInfoVP8 const &vp8_info, int64 frame_id, bool is_keyframe, bool layer_sync, ::webrtc::RTPVideoHeader::GenericDescriptorInfo *generic)
MCAPI void * $ctor(uint ssrc, ::webrtc::RtpPayloadState const *state, ::webrtc::FieldTrialsView const &trials)
MCAPI RtpPayloadParams(uint ssrc, ::webrtc::RtpPayloadState const *state, ::webrtc::FieldTrialsView const &trials)
MCAPI void SetGeneric(::webrtc::CodecSpecificInfo const *codec_specific_info, int64 frame_id, bool is_keyframe, ::webrtc::RTPVideoHeader *rtp_video_header)
MCAPI void * $ctor(::webrtc::RtpPayloadParams const &)
MCAPI void Vp8ToGeneric(::webrtc::CodecSpecificInfoVP8 const &vp8_info, int64 frame_id, bool is_keyframe, ::webrtc::RTPVideoHeader *rtp_video_header)
Definition Alias.h:14
Definition CodecSpecificInfoH264.h:7
Definition CodecSpecificInfoVP8.h:7
Definition CodecSpecificInfoVP9.h:7
Definition CodecSpecificInfo.h:7
Definition FrameDependencyStructure.h:10
Definition RTPVideoHeader.h:20
Definition RTPVideoHeader.h:12
Definition RtpPayloadState.h:7