Function

Gst-1.0Gsturi_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 gst_element_make_from_uri() is guaranteed to work.

    Parameters

    • type: Gst.URIType

      Whether to check for a source or a sink

    • protocol: string

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

    Returns boolean

    true