GUPnPDLNAProfile

## GUPnPDLNAProfile GUPnPDLNAProfile — Object representing a DLNA profile |

## Synopsis

                        GUPnPDLNAProfile;
                        GUPnPDLNAProfileClass;
    GUPnPDLNAProfile *  gupnp_dlna_profile_new              (gchar *name,
                                                             gchar *mime,
                                                             GstCaps *container_caps,
                                                             GstCaps *video_caps,
                                                             GstCaps *audio_caps,
                                                             gboolean extended);
    const gchar *       gupnp_dlna_profile_get_name         (GUPnPDLNAProfile *self);
    const gchar *       gupnp_dlna_profile_get_mime         (GUPnPDLNAProfile *self);
    GstEncodingProfile * gupnp_dlna_profile_get_encoding_profile
                                                            (GUPnPDLNAProfile *self);

## Object Hierarchy

      GObject
       +----GUPnPDLNAProfile

## Properties

      "encoding-profile"         GstEncodingProfile*   : Read
      "extended"                 gboolean              : Read / Write / Construct Only
      "mime"                     gchar*                : Read / Write / Construct Only
      "name"                     gchar*                : Read / Write / Construct Only

## Description

The GUPnPDLNADiscoverer object provides a few APIs that return GUPnPDLNAProfile objects. These represent a single DLNA profile. Each GUPnPDLNAProfile has a name (the name of the DLNA profile), the corresponding MIME type, and a GstEncodingProfile which represents the various audio/video/container restrictions specified for that DLNA profile.

## Details

### GUPnPDLNAProfile

    typedef struct _GUPnPDLNAProfile GUPnPDLNAProfile;

The top-level object used for the in-memory representation of the DLNA Profiles.

### GUPnPDLNAProfileClass

    typedef struct {
            GObjectClass parent_class;
    } GUPnPDLNAProfileClass;

### gupnp_dlna_profile_new ()

    GUPnPDLNAProfile *  gupnp_dlna_profile_new              (gchar *name,
                                                             gchar *mime,
                                                             GstCaps *container_caps,
                                                             GstCaps *video_caps,
                                                             GstCaps *audio_caps,
                                                             gboolean extended);

### gupnp_dlna_profile_get_name ()

    const gchar *       gupnp_dlna_profile_get_name         (GUPnPDLNAProfile *self);

`self` : | The GUPnPDLNAProfile object
Returns : | the name of the DLNA profile represented by `self`

### gupnp_dlna_profile_get_mime ()

    const gchar *       gupnp_dlna_profile_get_mime         (GUPnPDLNAProfile *self);

`self` : | The GUPnPDLNAProfile object
Returns : | the DLNA MIME type of the DLNA profile represented by `self`

### gupnp_dlna_profile_get_encoding_profile ()

    GstEncodingProfile * gupnp_dlna_profile_get_encoding_profile
                                                            (GUPnPDLNAProfile *self);

`self` : | The GUPnPDLNAProfile object
Returns : | a GstEncodingProfile object that, in a future version, can be used to transcode a given stream to match the DLNA profile represented by `self`. The receiver must unref the returned GstEncodingProfile when done using it. [transfer full]

## Property Details

### The `"encoding-profile"` property

      "encoding-profile"         GstEncodingProfile*   : Read

GstEncodingProfile object corresponding to the DLNA profile.

### The `"extended"` property

      "extended"                 gboolean              : Read / Write / Construct Only

Indicates that this profile is not part of the DLNA specification.

Default value: FALSE

### The `"mime"` property

      "mime"                     gchar*                : Read / Write / Construct Only

The MIME type of the DLNA profile.

Default value: NULL

### The `"name"` property

      "name"                     gchar*                : Read / Write / Construct Only

The name of the DLNA profile .

Default value: NULL