MediaEngine


Object Hierarchy:

Object hierarchy for MediaEngine

Description:

public abstract class MediaEngine : Object

This is the base class for media engines that contain knowledge about the streaming and (optionally) the transcoding and seeking capabilites of the media library in use. Derived classes also instantiate any transcoding objects supported by the media engine and specify the list of media formats the engine is capable of playing.

See, for instance, Rygel's built-in "gstreamer" and "simple" media engines, or the external rygel-gst-0-10-media-engine module.

The actual media engine used by Rygel at runtime is specified by the media-engine configuration key. For instance, in rygel.conf: media- engine=librygel-media-engine-gst.so

Media engines should also derive their own #RygelDataSource, returning an instance of it from create_data_source().

If this media engine supports transcoding then it will typically implement a set of transcoding classes, typically with one base class and a number of sub-classes - one for each transcoding format you want to support. These should be returned by the get_transcoders() virtual function. The base transcoder class could provide a generic way to create a #RygelDataSource capable of providing Rygel with a transcoded version of a file using the underlying media framework. The sub-classes could contain the various media-framework-specific parameters required to transcode to a given format and implement a heuristic that can be used to order an item's transcoded resources.

See the <link linkend="implementing-media-engines">Implementing Media Engines</link> section.


Namespace: Rygel
Package: librygel-server

Content:

Static methods:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object