![]() |
![]() |
![]() |
GUPnP DLNA Reference Manual | |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
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
);
"encoding-profile" GstEncodingProfile* : Read "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.
typedef struct _GUPnPDLNAProfile GUPnPDLNAProfile;
The top-level object used for the in-memory representation of the DLNA Profiles.
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
);
|
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
|
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 .
The receiver must unref the returned GstEncodingProfile when done
using it.
|
"encoding-profile"
property "encoding-profile" GstEncodingProfile* : Read
GstEncodingProfile objectcorresponding 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