public class JNIEncoder extends FFmpegAudioEncoder
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. |
protected int |
doProcess(javax.media.Buffer inBuf,
javax.media.Buffer outBuf) |
javax.media.Format |
getOutputFormat()
Gets the Format of the media output by this Codec.
|
javax.media.Format |
setOutputFormat(javax.media.Format format)
Additionally, determines whether this JNIEncoder is to perform
RTP packetization.
|
assertFindAVCodec, doClose, findAVCodec, getAVCodecContextFormatcodecIDToString, doOpencalculateLostSeqNoCount, close, discardOutputBuffer, getMatchingOutputFormats, getName, getSupportedOutputFormats, incrementSeqNo, matches, open, process, setInputFormat, specialize, updateOutput, validateByteArraySize, validateShortArraySizecheckInputBuffer, dump, getInputFormat, 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
configuredprotected int doProcess(javax.media.Buffer inBuf,
javax.media.Buffer outBuf)
doProcess in class FFmpegAudioEncoderpublic javax.media.Format setOutputFormat(javax.media.Format format)
setOutputFormat in interface javax.media.CodecsetOutputFormat in class AbstractCodec2public javax.media.Format getOutputFormat()
getOutputFormat in class net.sf.fmj.media.AbstractCodecAbstractCodec.getOutputFormat()Copyright © 2021 jitsi.org. All rights reserved.