Top |
GUPnPProtocolInfo * | gupnp_protocol_info_new () |
GUPnPProtocolInfo * | gupnp_protocol_info_new_from_string () |
char * | gupnp_protocol_info_to_string () |
gboolean | gupnp_protocol_info_is_compatible () |
void | gupnp_protocol_info_set_protocol () |
void | gupnp_protocol_info_set_network () |
void | gupnp_protocol_info_set_mime_type () |
void | gupnp_protocol_info_set_dlna_profile () |
void | gupnp_protocol_info_set_play_speeds () |
void | gupnp_protocol_info_set_dlna_conversion () |
void | gupnp_protocol_info_set_dlna_operation () |
void | gupnp_protocol_info_set_dlna_flags () |
const char * | gupnp_protocol_info_get_protocol () |
const char * | gupnp_protocol_info_get_network () |
const char * | gupnp_protocol_info_get_mime_type () |
const char * | gupnp_protocol_info_get_dlna_profile () |
const char ** | gupnp_protocol_info_get_play_speeds () |
GUPnPDLNAConversion | gupnp_protocol_info_get_dlna_conversion () |
GUPnPDLNAOperation | gupnp_protocol_info_get_dlna_operation () |
GUPnPDLNAFlags | gupnp_protocol_info_get_dlna_flags () |
GUPnPProtocolInfo | |
enum | GUPnPDLNAConversion |
enum | GUPnPDLNAFlags |
enum | GUPnPDLNAOperation |
GUPnPProtocolInfo provides a convenient API to deal with ProtocolInfo strings used in UPnP AV specifications.
GUPnPProtocolInfo * gupnp_protocol_info_new_from_string (const char *protocol_info
,GError **error
);
Parses the protocol_info
string and creates a new GUPnPProtocolInfo object
as a result.
char *
gupnp_protocol_info_to_string (GUPnPProtocolInfo *info
);
Provides the string representation of info
.
gboolean gupnp_protocol_info_is_compatible (GUPnPProtocolInfo *info1
,GUPnPProtocolInfo *info2
);
Checks if the given protocolInfo string is compatible with info
.
void gupnp_protocol_info_set_protocol (GUPnPProtocolInfo *info
,const char *protocol
);
Set the protocol of this info.
void gupnp_protocol_info_set_network (GUPnPProtocolInfo *info
,const char *network
);
Set the network this info is associated with.
void gupnp_protocol_info_set_mime_type (GUPnPProtocolInfo *info
,const char *mime_type
);
Set the MIME-type of this info.
void gupnp_protocol_info_set_dlna_profile (GUPnPProtocolInfo *info
,const char *profile
);
Set the DLNA profile of this info.
void gupnp_protocol_info_set_play_speeds (GUPnPProtocolInfo *info
,const char **speeds
);
Set the allowed play speeds on this info in the form of array of strings.
The array must be NULL
-terminated.
void gupnp_protocol_info_set_dlna_conversion (GUPnPProtocolInfo *info
,GUPnPDLNAConversion conversion
);
Set the DLNA conversion flags.
void gupnp_protocol_info_set_dlna_operation (GUPnPProtocolInfo *info
,GUPnPDLNAOperation operation
);
Set the DLNA operation flags.
void gupnp_protocol_info_set_dlna_flags (GUPnPProtocolInfo *info
,GUPnPDLNAFlags flags
);
Set the gereric DLNA flags.
const char *
gupnp_protocol_info_get_protocol (GUPnPProtocolInfo *info
);
Get the protocol of this info.
const char *
gupnp_protocol_info_get_network (GUPnPProtocolInfo *info
);
Get the network this info is associated with.
const char *
gupnp_protocol_info_get_mime_type (GUPnPProtocolInfo *info
);
Get the MIME-type of this info.
const char *
gupnp_protocol_info_get_dlna_profile (GUPnPProtocolInfo *info
);
Get the DLNA profile of this info.
const char **
gupnp_protocol_info_get_play_speeds (GUPnPProtocolInfo *info
);
Get the allowed play speeds on this info in the form of array of strings.
GUPnPDLNAConversion
gupnp_protocol_info_get_dlna_conversion
(GUPnPProtocolInfo *info
);
Get the DLNA conversion flags.
GUPnPDLNAOperation
gupnp_protocol_info_get_dlna_operation
(GUPnPProtocolInfo *info
);
Get the DLNA operation flags.
GUPnPDLNAFlags
gupnp_protocol_info_get_dlna_flags (GUPnPProtocolInfo *info
);
Get the gereric DLNA flags.
The miscellaneous operations supported by a resource. For details on these flags please refer to section 7.3.37.2 of DLNA Networked Device Interoperability Guidelines Volume 1, October 2006.
Updated DTCP Flags based on 2011 Guidelines, section 7.4.1.3.23.2
No flags |
||
Content source is the clock source during transport |
||
Limited Operation: time-seek supported |
||
Limited Operation: byte-seek supported |
||
Resource supports 'Container Playback' |
||
Content does not have a fixed beginning |
||
Content does not have a fixed end |
||
RTSP resource supports pausing of media transfer |
||
Streaming transfer mode supported |
||
Interactive transfer mode supported |
||
Background transfer mode supported |
||
No content transfer when paused. |
||
DLNAv1.5 version flag |
||
The content is protected. |
||
Full byte seek on cleartext domain is supported. |
||
Limited operations on byte seek in cleartext domain. |