Navigation
API > API/Runtime > API/Runtime/AVEncoder
Type
typedef TFunction< void(const FAudioSampleBuffer &, const FAudioByteBuffer &AudioBytes)> OnAudioEncodeCallback
References
| Module | AVEncoder |
| Header | /Engine/Source/Runtime/AVEncoder/Public/AudioTypes.h |
| Include | #include "AudioTypes.h" |
Remarks
The callback is called to encode the sample buffer to the byte-by-byte format.
The unencoded audio sample buffer is not guaranteed to be available after callback finishes. The pointer of the encoded audio byte buffer should be valid until the next encode call will happen.