SrtUri

class SrtUri

An URI like class with specific SRT parameter for streamId.

StreamId in query is not RFC 2396 compliant. Example of SRT StreamId syntax: #!::u=admin,r=bluesbrothers1_hi Parameters after streamId might be lost because they will be interpreted as fragment.

The purpose of this class is to provide a way to get streamId and to get all parameters from the rawUri.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val host: String?

Gets the encoded host from the authority for this URI.

Link copied to clipboard
val port: Int

Gets the port from the authority for this URI.

Link copied to clipboard

Returns a set of the unique names of all query parameters. Iterating over the set will return the names in order of their first occurrence.

Link copied to clipboard

Gets the scheme from the URI.

Link copied to clipboard

Functions

Link copied to clipboard

Searches the query string for the first value with the given key.

Link copied to clipboard
open override fun toString(): String

Returns Uri as String.