RygelMediaServer 3 LIBRYGEL-SERVER Library
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;
    struct              RygelMediaServerClass;

## 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_TYPE_MEDIA_SERVER

### 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.

rygel_media_server_new

### 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.

RygelMediaServer

### struct RygelMediaServerClass

    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.

RygelMediaDeviceClass parent_class;

  the parent class structure

RygelMediaServerClass