Rygel.Playbin.Renderer – librygel-renderer – Vala Binding Reference

Rygel.Playbin.Renderer – librygel-renderer Reference Manual

# Renderer

## Object Hierarchy:

## Description:

public class Renderer : `MediaDevice`

A UPnP renderer that uses a GStreamer Playbin2 element.

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

You can retrieve the GstPlayBin2 by calling rygel_playbin_player_get_playbin() on the default player - see rygel_playbin_player_get_default(). You should then set the "video-sink" and "audio-sink" properties of the playbin.

Call rygel_media_device_add_interface() on the Renderer to allow it to be controlled by a control point and to retrieve data streams via that network interface.

See the standalone-renderer.c example.

Namespace: Rygel.Playbin
Package: librygel-renderer

## Content:

### Creation methods:

- public Renderer (`string` title)
  Create a new instance of Renderer.
- public Renderer.wrap (`Element` pipeline, `string` title)
  Create a new instance of Renderer, wrapping an existing GstPlayBin2 instance.

### Inherited Members:

All known members inherited from class Rygel.MediaDevice

- plugin
- add_interface

- get_interfaces

- remove_interface

All known members inherited from class GLib.Object

- @new
- newv
- new_valist
- get_type
- get_class
- @ref
- unref
- ref_sink
- weak_ref
- weak_unref
- add_weak_pointer
- remove_weak_pointer

- @get
- @set
- get_property
- set_property
- get_data
- set_data
- set_data_full
- steal_data
- get_qdata
- set_qdata
- set_qdata_full
- steal_qdata

- freeze_notify
- thaw_notify
- dispose
- constructed
- notify_property
- connect
- disconnect
- add_toggle_ref
- remove_toggle_ref
- bind_property
- notify
- ref_count