A Transcoder applies transcoding actions (see TranscodingAction) to content, based on the capabilities of the device that requested the content.
Although the class is pretty generic, the goal of the transcoder within the transcoding library is to transform content that is not suitable for requesting device to content that will provide at least a functional user experience on that device.
The capabilities of the requesting device are retrieved from a device description repository (DDR), accessed through the DDR Simple API. The transcoder provides a Service and an Evidence to the underlying transcoding actions so that they may react consequently.
Located in /common/transcoding/transcoder.php (line 46)
Creates an empty transcoder associated with a DDR service.
The transcoding actions that the transcoder needs to apply to content should be added through one or more calls to addTranscodingAction().
Adds a transcoding action to the set.
Applies all the transcoding actions to the given content, one at a turn, in the order in which they were added to the transcoder.
Factory method that creates a transcoding action from the given name that will use the transcoder's DDR service to resolve the requesting device's capabilities.
Please note that the created transcoding action is not automatically added to the transcoder. A subsequent call to addTranscodingAction() is required for that to happen.
Documentation generated on Tue, 17 Nov 2009 19:00:40 +0100 by phpDocumentor 1.4.2