public class EncoderProgressAdapter extends Object implements EncoderProgressListener
| Constructor and Description |
|---|
EncoderProgressAdapter(VideoProgressListener listener) |
| Modifier and Type | Method and 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 |
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.
|
public EncoderProgressAdapter(VideoProgressListener listener)
public void sourceInfo(MultimediaInfo info)
EncoderProgressListenersourceInfo in interface EncoderProgressListenerinfo - Informations about the source multimedia stream.public void progress(int permil)
EncoderProgressListenerprogress in interface EncoderProgressListenerpermil - A permil value representing the encoding process progress.public void message(String message)
EncoderProgressListenermessage in interface EncoderProgressListenermessage - The message sent by the encoder.Copyright © 2020. All rights reserved.