startStream

open suspend override fun startStream()
open suspend override fun startStream(url: String)

Same as BaseCameraLiveStreamer.startStream but also starts bitrate regulator.


open suspend override fun startStream(connection: SrtConnectionDescriptor)

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

Parameters

connection

the SRT connection

Throws

if connection has failed or configuration has failed or startStream has failed too.