uri_protocol_is_supported

function uri_protocol_is_supported(type:Gst.URIType, protocol:String):Boolean {
    // Gjs wrapper for gst_uri_protocol_is_supported()
}

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

type

Whether to check for a source or a sink

protocol

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

Returns

TRUE