Properties

Link copied to clipboard
abstract val isConnected: Boolean
Link copied to clipboard
abstract val latency: Int

Get/set bidirectional latency in milliseconds.

Link copied to clipboard
Link copied to clipboard
abstract var passPhrase: String

Get/set connection passphrase.

Link copied to clipboard
abstract var streamId: String

Get/set stream id.

Functions

Link copied to clipboard
abstract suspend fun connect(connection: SrtConnectionDescriptor)

Connect to a remote server.

abstract suspend fun connect(url: String)
Link copied to clipboard
abstract fun disconnect()
Link copied to clipboard
abstract suspend fun startStream(connection: SrtConnectionDescriptor)

Same as connect then startStream.

abstract suspend fun startStream(url: String)