RygelPlaybinRenderer

RygelPlaybinRenderer — Convert a GStreamer Playbin2 element into an UPnP renderer.

Synopsis

#define             RYGEL_PLAYBIN_TYPE_RENDERER
RygelPlaybinRenderer * rygel_playbin_renderer_new       (const gchar *title);
RygelPlaybinRenderer * rygel_playbin_renderer_new_wrap  (GstElement *pipeline,
                                                         const gchar *title);
struct              RygelPlaybinRenderer;

Description

Using Playbin2 as a model it reflects any changes done externally, such as changing the currently played URI, volume, pause/play etc. to UPnP.

Likewise the playbin can be modified externally using UPnP.

Details

RYGEL_PLAYBIN_TYPE_RENDERER

#define RYGEL_PLAYBIN_TYPE_RENDERER (rygel_playbin_renderer_get_type ())

The type for RygelPlaybinRenderer.


rygel_playbin_renderer_new ()

RygelPlaybinRenderer * rygel_playbin_renderer_new       (const gchar *title);

Create a new instance of Renderer.

Renderer will instanciate its own instance of playbin. The Playbin can be accessed by using Player.get_default().playbin

title :

Friendly name of the new UPnP renderer on the network. [in]

rygel_playbin_renderer_new_wrap ()

RygelPlaybinRenderer * rygel_playbin_renderer_new_wrap  (GstElement *pipeline,
                                                         const gchar *title);

Create a new instance of Renderer, wrapping an existing playbin instance.

pipeline :

Instance of Gst.PlayBin2 to wrap. [in]

title :

Friendly name of the new UPnP renderer on the network. [in]

struct RygelPlaybinRenderer

struct RygelPlaybinRenderer {
	RygelMediaDevice parent_instance;
	RygelPlaybinRendererPrivate * priv;
};

Convert a GStreamer Playbin2 element into an UPnP renderer.

Using Playbin2 as a model it reflects any changes done externally, such as changing the currently played URI, volume, pause/play etc. to UPnP.

Likewise the playbin can be modified externally using UPnP.