Class JNIDecoder

  • All Implemented Interfaces:
    javax.media.Codec, javax.media.Controls, javax.media.PlugIn

    public class JNIDecoder
    extends FFmpegAudioDecoder
    Implements an Adaptive Multi-Rate Wideband (AMR-WB) decoder using FFmpeg.
    Author:
    Lyubomir Marinov
    • Constructor Detail

      • JNIDecoder

        public JNIDecoder()
        Initializes a new JNIDecoder instance.
    • Method Detail

      • doProcess

        protected int doProcess​(javax.media.Buffer inBuf,
                                javax.media.Buffer outBuf)
        Overrides:
        doProcess in class FFmpegAudioDecoder
      • setInputFormat

        public javax.media.Format setInputFormat​(javax.media.Format format)
        Additionally, determines whether this JNIDecoder is to perform RTP depacketization.
        Specified by:
        setInputFormat in interface javax.media.Codec
        Overrides:
        setInputFormat in class AbstractCodec2