LeviLamina
Loading...
Searching...
No Matches
RTPSenderVideoFrameTransformerDelegate.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/TransformedFrameCallback.h"
7#include "mc/external/webrtc/VideoCodecType.h"
8#include "mc/external/webrtc/scoped_refptr.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace webrtc { class EncodedImage; }
13namespace webrtc { class FrameTransformerInterface; }
14namespace webrtc { class RTPVideoFrameSenderInterface; }
15namespace webrtc { class TaskQueueFactory; }
16namespace webrtc { class TimeDelta; }
17namespace webrtc { class TransformableFrameInterface; }
18namespace webrtc { struct FrameDependencyStructure; }
19namespace webrtc { struct RTPVideoHeader; }
20namespace webrtc { struct VideoLayersAllocation; }
21// clang-format on
22
23namespace webrtc {
24
26public:
27 // member variables
28 // NOLINTBEGIN
35 // NOLINTEND
36
37public:
38 // prevent constructor by default
42
43public:
44 // virtual functions
45 // NOLINTBEGIN
46 // vIndex: 3
47 virtual void OnTransformedFrame(::std::unique_ptr<::webrtc::TransformableFrameInterface> frame) /*override*/;
48
49 // vIndex: 4
50 virtual void StartShortCircuiting() /*override*/;
51
52 // vIndex: 2
53 virtual ~RTPSenderVideoFrameTransformerDelegate() /*override*/ = default;
54 // NOLINTEND
55
56public:
57 // member functions
58 // NOLINTBEGIN
59 MCNAPI void Init();
60
64 uint ssrc,
65 ::webrtc::TaskQueueFactory* task_queue_factory
66 );
67
68 MCNAPI void Reset();
69
70 MCNAPI void SendVideo(::std::unique_ptr<::webrtc::TransformableFrameInterface> transformed_frame) const;
71
73
75
76 MCNAPI bool TransformFrame(
77 int payload_type,
78 ::std::optional<::webrtc::VideoCodecType> codec_type,
79 uint rtp_timestamp,
80 ::webrtc::EncodedImage const& encoded_image,
81 ::webrtc::RTPVideoHeader video_header,
82 ::webrtc::TimeDelta expected_retransmission_time
83 );
84 // NOLINTEND
85
86public:
87 // constructor thunks
88 // NOLINTBEGIN
89 MCNAPI void* $ctor(
92 uint ssrc,
93 ::webrtc::TaskQueueFactory* task_queue_factory
94 );
95 // NOLINTEND
96
97public:
98 // virtual function thunks
99 // NOLINTBEGIN
100 MCNAPI void $OnTransformedFrame(::std::unique_ptr<::webrtc::TransformableFrameInterface> frame);
101
103 // NOLINTEND
104
105public:
106 // vftables
107 // NOLINTBEGIN
108 MCNAPI static void** $vftable();
109 // NOLINTEND
110};
111
112} // namespace webrtc
Definition EncodedImage.h:12
Definition RTPSenderVideoFrameTransformerDelegate.h:25
MCAPI void SetVideoLayersAllocationUnderLock(::webrtc::VideoLayersAllocation allocation)
MCAPI void SetVideoStructureUnderLock(::webrtc::FrameDependencyStructure const *video_structure)
MCAPI bool TransformFrame(int payload_type, ::std::optional<::webrtc::VideoCodecType > codec_type, uint rtp_timestamp, ::webrtc::EncodedImage const &encoded_image, ::webrtc::RTPVideoHeader video_header, ::webrtc::TimeDelta expected_retransmission_time)
MCAPI void SendVideo(::std::unique_ptr<::webrtc::TransformableFrameInterface > transformed_frame) const
MCAPI void * $ctor(::webrtc::RTPVideoFrameSenderInterface *sender, ::webrtc::scoped_refptr<::webrtc::FrameTransformerInterface > frame_transformer, uint ssrc, ::webrtc::TaskQueueFactory *task_queue_factory)
MCAPI RTPSenderVideoFrameTransformerDelegate(::webrtc::RTPVideoFrameSenderInterface *sender, ::webrtc::scoped_refptr<::webrtc::FrameTransformerInterface > frame_transformer, uint ssrc, ::webrtc::TaskQueueFactory *task_queue_factory)
MCAPI void $OnTransformedFrame(::std::unique_ptr<::webrtc::TransformableFrameInterface > frame)
Definition RTPVideoFrameSenderInterface.h:19
Definition TaskQueueFactory.h:13
Definition TimeDelta.h:10
Definition TransformedFrameCallback.h:15
Definition scoped_refptr.h:8
Definition Alias.h:14
Definition FrameDependencyStructure.h:7
Definition RTPVideoHeader.h:12
Definition VideoLayersAllocation.h:7