Function

Gst-1.0Gsturi_has_protocol

  • Checks if the protocol of a given valid URI matches protocol.

    Parameters

    • uri: string

      a URI string

    • protocol: string

      a protocol string (e.g. "http")

    Returns boolean

    true if the protocol matches.