Class FfmpegAudioRenderer

    • Constructor Detail

      • FfmpegAudioRenderer

        public FfmpegAudioRenderer()
      • FfmpegAudioRenderer

        public FfmpegAudioRenderer​(@Nullable
                                   Handler eventHandler,
                                   @Nullable
                                   AudioRendererEventListener eventListener,
                                   AudioProcessor... audioProcessors)
        Creates a new instance.
        Parameters:
        eventHandler - A handler to use when delivering events to eventListener. May be null if delivery of events is not required.
        eventListener - A listener of events. May be null if delivery of events is not required.
        audioProcessors - Optional AudioProcessors that will process audio before output.
      • FfmpegAudioRenderer

        public FfmpegAudioRenderer​(@Nullable
                                   Handler eventHandler,
                                   @Nullable
                                   AudioRendererEventListener eventListener,
                                   AudioSink audioSink)
        Creates a new instance.
        Parameters:
        eventHandler - A handler to use when delivering events to eventListener. May be null if delivery of events is not required.
        eventListener - A listener of events. May be null if delivery of events is not required.
        audioSink - The sink to which audio will be output.