sbIMediaTranscoderManager Interface Reference

An object that receives all requests for transcode operations. More...

List of all members.

Public Member Functions

PRInt32 transcode (in AString aInputURL, in sbIMediaType aInputMIMEType, in AString aOutputURL, in sbIMediaType aOutputMIMEType, in sbIMediaTranscoderCallback aCallback)
 Start a transcode operation.
void getSupportedInputMediaTypes (out PRUint32 nInputCount,[array, size_is(nInputCount), retval] out sbIMediaType aInputTypes)
 Get the list of all supported input types.
void getSupportedOutputMediaTypes (out PRUint32 nOutputCount,[array, size_is(nOutputCount), retval] out sbIMediaType aOutputTypes)
 Get the list of all supported output types.


Detailed Description

An object that receives all requests for transcode operations.

This service is retrieved by user code that calls its transcode() method.

This code is responsible for iterating through all available sbIMediaTranscoder instances, finding one that supports the requested transcode operation, and calling its sbIMediaTranscoder::transcode() method.

Todo:
Stub interface. Currently unimplemented.
See also:
sbIMediaTranscoder, sbIMediaTranscoderCallback, sbIMediaType

Definition at line 250 of file sbIMediaTranscoder.idl.


Member Function Documentation

void sbIMediaTranscoderManager::getSupportedInputMediaTypes ( out PRUint32  nInputCount,
[array, size_is(nInputCount), retval] out sbIMediaType  aInputTypes 
)

Get the list of all supported input types.

This method returns a concatenation of all the types it supports

Parameters:
nInputCount The number of items in the array
aInputTypes The array of types

void sbIMediaTranscoderManager::getSupportedOutputMediaTypes ( out PRUint32  nOutputCount,
[array, size_is(nOutputCount), retval] out sbIMediaType  aOutputTypes 
)

Get the list of all supported output types.

This method returns a concatenation of all the types it supports.

Parameters:
nOutputCount The number of items in the array
aOutputTypes The array of types

PRInt32 sbIMediaTranscoderManager::transcode ( in AString  aInputURL,
in sbIMediaType  aInputMIMEType,
in AString  aOutputURL,
in sbIMediaType  aOutputMIMEType,
in sbIMediaTranscoderCallback  aCallback 
)

Start a transcode operation.

This code is responsible for iterating through all available sbIMediaTranscoder instances, finding one that supports the requested transcode operation, and calling its sbIMediaTranscoder::transcode() method.

Parameters:
aInputURL The url to the input file
aInputType The type of the input file
aOutputURL The url to the output file
aOutputType The type for the output file
aCallback The optional callback object to observe the transcoding
Returns:
Error conditions of some form or another


The documentation for this interface was generated from the following file:
Generated on Mon Aug 21 21:01:55 2006 for Songbird by  doxygen 1.4.7