Navigation
API > API/Plugins > API/Plugins/AVCodecsCore > API/Plugins/AVCodecsCore/TVideoEncoder_TResource
Description
Send a frame to the underlying codec architecture.
| Name | SendFrame |
| Type | function |
| Header File | /Engine/Plugins/Experimental/AVCodecs/AVCodecsCore/Source/AVCodecsCore/Public/Video/VideoEncoder.h |
| Include Path | #include "Video/VideoEncoder.h" |
FAVResult SendFrame
(
TSharedPtr < TResource > const & Resource,
uint32 Timestamp,
bool bForceKeyframe
)
Result of the operation,
Parameters
| Name | Remarks |
|---|---|
| Resource | Resource holding the frame data. An invalid resource will perform a flush ( |
| Timestamp | Recorded timestamp of the frame. |
| bForceKeyframe | Whether the frame should be forced to be a keyframe. |
See Also
-
FlushPackets) and invalidate the underlying architecture.