|  |  |  | GUPnP DLNA Reference Manual | |
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
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);
"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
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.
GUPnPDLNAProfile * gupnp_dlna_profile_new (gchar *name,gchar *mime,GstEncodingProfile *enc_profile,gboolean extended);
Creates a new GUPnPDLNAProfile object.
| Returns : | A new GUPnPDLNAProfile object. | 
const gchar *       gupnp_dlna_profile_get_name         (GUPnPDLNAProfile *self);
| 
 | The GUPnPDLNAProfile object | 
| Returns : | the name of the DLNA profile represented by self | 
const gchar *       gupnp_dlna_profile_get_mime         (GUPnPDLNAProfile *self);
| 
 | The GUPnPDLNAProfile object | 
| Returns : | the DLNA MIME type of the DLNA profile represented by self | 
const GstEncodingProfile * gupnp_dlna_profile_get_encoding_profile
                                                        (GUPnPDLNAProfile *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. | 
"encoding-profile" property"encoding-profile" GstEncodingProfile* : Read / Write / Construct Only
GstEncodingProfile object corresponding to the DLNA profile.
"extended" property"extended" gboolean : Read / Write / Construct Only
Indicates that this profile is not part of the DLNA specification.
Default value: FALSE
"mime" property"mime" gchar* : Read / Write / Construct Only
The MIME type of the DLNA profile.
Default value: NULL
"name" property"name" gchar* : Read / Write / Construct Only
The name of the DLNA profile .
Default value: NULL