Gst.URI – gstreamer-1.0 Reference Manual
Packages
gstreamer-1.0
Gst
URI
@construct
error_quark
from_string
from_string_escaped
get_location
get_protocol
has_protocol
is_valid
join_strings
protocol_is_supported
protocol_is_valid
Gst.URI
Description:
Content:
Functions:
public
string
@construct
(
string
protocol,
string
location)
Constructs a URI for a given valid protocol and location.
public
Quark
error_quark
()
public
Uri
?
from_string
(
string
uri)
Parses a URI string into a new
Uri
object.
public
Uri
?
from_string_escaped
(
string
uri)
Parses a URI string into a new
Uri
object.
public
string
?
get_location
(
string
uri)
Extracts the location out of a given valid URI, ie.
public
string
?
get_protocol
(
string
uri)
Extracts the protocol out of a given valid URI.
public
bool
has_protocol
(
string
uri,
string
protocol)
Checks if the protocol of a given valid URI matches
protocol
.
public
bool
is_valid
(
string
uri)
Tests if the given string is a valid URI identifier.
public
string
join_strings
(
string
base_uri,
string
ref_uri)
This is a convenience function to join two URI strings and return the result.
public
bool
protocol_is_supported
(
URIType
type,
string
protocol)
Checks if an element exists that supports the given URI protocol.
public
bool
protocol_is_valid
(
string
protocol)
Tests if the given string is a valid protocol identifier.