Uri.protocolIsSupported

bool protocolIsSupported(gst.types.URIType type, string protocol)

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

Parameters

typeWhether to check for a source or a sink
protocolProtocol that should be checked for (e.g. "http" or "smb")

Returns

true