public class JNIEncoder extends FFmpegAudioEncoder implements FlushableControl
prevInLenavctx, codecID, frameSizeInBytesBUFFER_FLAG_FEC, BUFFER_FLAG_PLC, EMPTY_FORMATS, features, MAX_AUDIO_SEQUENCE_NUMBERS_TO_PLC, SEQUENCE_MAX, SEQUENCE_MIN| Constructor and Description |
|---|
JNIEncoder()
Initializes a new JNIEncoder instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureAVCodecContext(long avctx,
javax.media.format.AudioFormat format)
Configures the AVCodecContext initialized in
AbstractFFmpegAudioCodec.doOpen()
prior to invoking one of the FFmpeg functions in the
avcodec_open family. |
void |
flush()
Flushes the buffer.
|
Component |
getControlComponent() |
assertFindAVCodec, doClose, doProcess, findAVCodec, getAVCodecContextFormatcodecIDToString, doOpencalculateLostSeqNoCount, close, discardOutputBuffer, getMatchingOutputFormats, getName, getSupportedOutputFormats, incrementSeqNo, matches, open, process, setInputFormat, setOutputFormat, specialize, updateOutput, validateByteArraySize, validateShortArraySizecheckInputBuffer, dump, getInputFormat, getOutputFormat, getSupportedInputFormats, isEOM, propagateEOMaddControl, getControl, getControls, removeControlprotected void configureAVCodecContext(long avctx,
javax.media.format.AudioFormat format)
AbstractFFmpegAudioCodec.doOpen()
prior to invoking one of the FFmpeg functions in the
avcodec_open family. Allows extenders to override and provide
additional, optional configuration.configureAVCodecContext in class FFmpegAudioEncoderavctx - the AVCodecContext to configureformat - the AudioFormat with which avctx is being
configuredpublic void flush()
flush in interface FlushableControlpublic Component getControlComponent()
getControlComponent in interface javax.media.ControlCopyright © 2021 jitsi.org. All rights reserved.