![]() |
![]() |
![]() |
GUPnP DLNA Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
GUPnPDLNAInformationGUPnPDLNAInformation — Object containing metadata information returned by the GUPnPDLNADiscoverer API |
GUPnPDLNAInformation; GUPnPDLNAInformation * gupnp_dlna_information_new (gchar *name
,gchar *mime
,GstDiscovererInfo *info
); const gchar * gupnp_dlna_information_get_name (GUPnPDLNAInformation *self
); const gchar * gupnp_dlna_information_get_mime (GUPnPDLNAInformation *self
); const GstDiscovererInfo * gupnp_dlna_information_get_info (GUPnPDLNAInformation *self
);
"info" GstDiscovererInfo* : Read / Write / Construct Only "mime" gchar* : Read / Write / Construct Only "name" gchar* : Read / Write / Construct Only
The GUPnPDLNAInformation object holds metadata information discovered by the GUPnPDiscoverer API. The DLNA profile name and MIME type have their own fields, and other metadata is held in a GstDiscovererInfo structure. All fields are read-only.
GUPnPDLNAInformation * gupnp_dlna_information_new (gchar *name
,gchar *mime
,GstDiscovererInfo *info
);
Creates a new GUPnPDLNAInformation object with the given properties.
|
DLNA media profile name corresponding to the media |
|
DLNA MIME type for the media |
|
GstDiscovererInfo type with additional metadata about the stream |
Returns : |
A newly created GUPnPDLNAInformation object. |
const gchar * gupnp_dlna_information_get_name (GUPnPDLNAInformation *self
);
|
The GUPnPDLNAInformation object |
Returns : |
the DLNA profile name of the stream represented by self . Do not
free this string. |
const gchar * gupnp_dlna_information_get_mime (GUPnPDLNAInformation *self
);
|
The GUPnPDLNAInformation object |
Returns : |
the DLNA MIME type of the stream represented by self . Do not
free this string. |
const GstDiscovererInfo * gupnp_dlna_information_get_info
(GUPnPDLNAInformation *self
);
"info"
property"info" GstDiscovererInfo* : Read / Write / Construct Only
Metadata of the stream in a GstDiscovererInfo structure.
"mime"
property"mime" gchar* : Read / Write / Construct Only
The DLNA MIME type of the stream.
Default value: NULL
"name"
property"name" gchar* : Read / Write / Construct Only
The name of the DLNA profile corresponding to the strream.
Default value: NULL