Interface EncoderProgressListener

All Known Implementing Classes:
EchoingEncoderProgressListener, EncoderProgressAdapter

public interface EncoderProgressListener
Encoding progress listener interface. Instances of implementing classes could be used to listen an encoding process.
Author:
Carlo Pelliccia
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    message(String message)
    This method is called every time the encoder need to send a message (usually, a warning).
    void
    progress(int permil)
    This method is called to notify a progress in the encoding process.
    void
    This method is called before the encoding process starts, reporting information about the source stream that will be decoded and re-encoded.
  • Method Details

    • sourceInfo

      void sourceInfo(MultimediaInfo info)
      This method is called before the encoding process starts, reporting information about the source stream that will be decoded and re-encoded.
      Parameters:
      info - Informations about the source multimedia stream.
    • progress

      void progress(int permil)
      This method is called to notify a progress in the encoding process.
      Parameters:
      permil - A permil value representing the encoding process progress.
    • message

      void message(String message)
      This method is called every time the encoder need to send a message (usually, a warning).
      Parameters:
      message - The message sent by the encoder.