Public Member Functions | |
| void | onTranscodeBegin (in AString aInputURL, in AString aOutputURL, in sbIMediaType aOutputType) |
| The transcode operation has begun. | |
| void | onTranscodeProgress (in AString aInputURL, in AString aOutputURL, in PRInt32 aPercent) |
| The transcode is in progress. | |
| void | onTranscodeMessage (in AString aMessage) |
| The transcode has sent a message (?!). | |
| void | onTranscodeError (in AString aInputURL, in AString aOutputURL, in PRInt32 aErrorVal, in AString aErrorStr) |
| The transcode has failed. | |
| void | onTranscodeComplete (in AString aInputURL, in AString aOutputURL) |
| The transcode has successfully completed. | |
User code may implement a local instance of this interface and pass it into the sbIMediaTranscoderManager::transcode() method to be informed about the status and progress of the transcode operation.
Definition at line 96 of file sbIMediaTranscoder.idl.
| void sbIMediaTranscoderCallback::onTranscodeBegin | ( | in AString | aInputURL, | |
| in AString | aOutputURL, | |||
| in sbIMediaType | aOutputType | |||
| ) |
The transcode operation has begun.
| aInputURL | The url to the input file | |
| aOutputURL | The url to the output file | |
| aOutputType | The type for the output file |
| void sbIMediaTranscoderCallback::onTranscodeComplete | ( | in AString | aInputURL, | |
| in AString | aOutputURL | |||
| ) |
The transcode has successfully completed.
| aInputURL | The url to the input file | |
| aOutputURL | The url to the output file |
| void sbIMediaTranscoderCallback::onTranscodeError | ( | in AString | aInputURL, | |
| in AString | aOutputURL, | |||
| in PRInt32 | aErrorVal, | |||
| in AString | aErrorStr | |||
| ) |
The transcode has failed.
| aInputURL | The url to the input file | |
| aOutputURL | The url to the output file | |
| aErrorVal | The numeric value for the error | |
| aErrorStr | The error string |
| void sbIMediaTranscoderCallback::onTranscodeMessage | ( | in AString | aMessage | ) |
The transcode has sent a message (?!).
| aMessage | The message to be sent |
| void sbIMediaTranscoderCallback::onTranscodeProgress | ( | in AString | aInputURL, | |
| in AString | aOutputURL, | |||
| in PRInt32 | aPercent | |||
| ) |
The transcode is in progress.
| aInputURL | The url to the input file | |
| aOutputURL | The url to the output file | |
| aPercent | A value between 0 and 100, indicating the progress of the transcode operation |
1.4.7