GUPnPDLNAProfile

GUPnPDLNAProfile — Object representing a DLNA profile

Synopsis

                    GUPnPDLNAProfile;
                    GUPnPDLNAProfileClass;
GUPnPDLNAProfile*   gupnp_dlna_profile_new              (gchar *name,
                                                         gchar *mime,
                                                         GstEncodingProfile *enc_profile,
                                                         gboolean extended);
const gchar *       gupnp_dlna_profile_get_name         (GUPnPDLNAProfile *self);
const gchar *       gupnp_dlna_profile_get_mime         (GUPnPDLNAProfile *self);
const GstEncodingProfile * gupnp_dlna_profile_get_encoding_profile
                                                        (GUPnPDLNAProfile *self);

Object Hierarchy

  GObject
   +----GUPnPDLNAProfile

Properties

  "encoding-profile"         GstEncodingProfile*   : Read / Write / Construct Only
  "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;

GUPnPDLNAProfileClass

typedef struct {
  GObjectClass parent_class;
} GUPnPDLNAProfileClass;

gupnp_dlna_profile_new ()

GUPnPDLNAProfile*   gupnp_dlna_profile_new              (gchar *name,
                                                         gchar *mime,
                                                         GstEncodingProfile *enc_profile,
                                                         gboolean extended);

Creates a new GUPnPDLNAProfile object.

Returns :

A new GUPnPDLNAProfile object.

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 ()

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

Property Details

The "encoding-profile" property

  "encoding-profile"         GstEncodingProfile*   : Read / Write / Construct Only

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