The manager from which to request a transcoding job, transcoding profiles, etc. More...
import"sbITranscodeManager.idl";
Public Member Functions | |
nsISupports | getTranscoderForMediaItem (in sbIMediaItem aMediaItem) |
Request a transcoding job. More... | |
nsIArray | getTranscodeProfiles (in unsigned long aType) |
Get an array of all the sbITranscodeProfiles available and usable. More... | |
The manager from which to request a transcoding job, transcoding profiles, etc.
Definition at line 39 of file sbITranscodeManager.idl.
nsIArray sbITranscodeManager::getTranscodeProfiles | ( | in unsigned long | aType | ) |
Get an array of all the sbITranscodeProfiles available and usable.
aType | Type of transcode profile to return. Use one of the TRANSCODE_TYPE_* constants from sbITranscodeProfile |
nsISupports sbITranscodeManager::getTranscoderForMediaItem | ( | in sbIMediaItem | aMediaItem | ) |
Request a transcoding job.
Selects an appropriate transcoding handler to transcode this media item. The highest-voting implementor of the interface will be selected.
The returned job will not be configured - the caller is responsible for setting the source and destination URIs, encoding profile, etc.
aMediaItem | The media item to transcode. |