| librygel-server Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
RygelMediaServerRygelMediaServer — This class may be used to implement in-process UPnP-AV media servers. |
#define RYGEL_TYPE_MEDIA_SERVER RygelMediaServer * rygel_media_server_new (const gchar *title,RygelMediaContainer *root_container); struct RygelMediaServer; struct RygelMediaServerClass;
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.
#define RYGEL_TYPE_MEDIA_SERVER (rygel_media_server_get_type ())
The type for RygelMediaServer.
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;
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.
struct RygelMediaServerClass {
RygelMediaDeviceClass parent_class;
};
The class structure for RYGEL_TYPE_MEDIA_SERVER. All the fields in this structure are private and should never be accessed directly.