sbITranscodeManager Interface Reference

The manager from which to request a transcoding job, transcoding profiles, etc. More...

import"sbITranscodeManager.idl";

Inheritance diagram for sbITranscodeManager:
[legend]
Collaboration diagram for sbITranscodeManager:
[legend]

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...
 

Detailed Description

The manager from which to request a transcoding job, transcoding profiles, etc.

See Also
sbITranscodeJob

Definition at line 39 of file sbITranscodeManager.idl.

Member Function Documentation

nsIArray sbITranscodeManager::getTranscodeProfiles ( in unsigned long  aType)

Get an array of all the sbITranscodeProfiles available and usable.

Parameters
aTypeType 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.

Parameters
aMediaItemThe media item to transcode.
Returns
The handler to use, or NULL.

The documentation for this interface was generated from the following file: