Interface EncoderProgressListener


  • 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​(java.lang.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 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.
    • Method Detail

      • 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​(java.lang.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.