RygelMediaServer

RygelMediaServer — This class may be used to implement in-process UPnP-AV media servers.

Synopsis

#define             RYGEL_TYPE_MEDIA_SERVER
RygelMediaServer *  rygel_media_server_new              (const gchar *title,
                                                         RygelMediaContainer *root_container);
struct              RygelMediaServer;

Object Hierarchy

  GObject
   +----RygelMediaDevice
         +----RygelMediaServer

Description

Call rygel_media_device_add_interface() on the RygelMediaServer to allow it to serve media via that network interface.

See the standalone-server.c example.

Details

RYGEL_TYPE_MEDIA_SERVER

#define RYGEL_TYPE_MEDIA_SERVER (rygel_media_server_get_type ())

The type for RygelMediaServer.


rygel_media_server_new ()

RygelMediaServer *  rygel_media_server_new              (const gchar *title,
                                                         RygelMediaContainer *root_container);

Create a MediaServer to serve the media in the RygelMediaContainer. For instance, you might use a RygelSimpleContainer. Alternatively, you might use your own RygelMediaContainer implementation.

Assuming that the RygelMediaContainer is correctly implemented, the RygelMediaServer will respond appropriately to changes in the RygelMediaContainer.


struct RygelMediaServer

struct RygelMediaServer;

This class may be used to implement in-process UPnP-AV media servers.

Call rygel_media_device_add_interface() on the RygelMediaServer to allow it to serve media via that network interface.

See the standalone-server.c example.