Properties

Link copied to clipboard
abstract val isConnected: Boolean

Check if the streamer is connected to the server.

Link copied to clipboard

Listen to manage connection events.

Functions

Link copied to clipboard
abstract suspend fun connect(url: String)

Connect to a remote server. To avoid creating an unresponsive UI, do not call on main thread.

Link copied to clipboard
abstract fun disconnect()

Disconnect from the remote server.

Link copied to clipboard
abstract suspend fun startStream(url: String)

Connect to a RTMP server and start stream. Same as calling connect, then startStream. To avoid creating an unresponsive UI, do not call on main thread.