Uri.protocolIsSupported

Checks if an element exists that supports the given URI protocol. Note that a positive return value does not imply that a subsequent call to gst_element_make_from_uri() is guaranteed to work.

class Uri
static
bool
protocolIsSupported
(
GstURIType type
,
string protocol
)

Parameters

type GstURIType

Whether to check for a source or a sink

protocol string

Protocol that should be checked for (e.g. "http" or "smb")

Return Value

Type: bool

%TRUE

Meta