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 Element.makeFromUri is guaranteed to work.

class Uri
static
bool
protocolIsSupported

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