Companion
object Companion
Properties
Functions
Link copied to clipboard
fun launch(context: Context, serviceClass: Class<out ScreenRecorderSrtLiveService>, enableAudio: Boolean = true, tsServiceInfo: TsServiceInfo = context.defaultTsServiceInfo, enableBitrateRegulation: Boolean = false, bitrateRegulatorConfig: BitrateRegulatorConfig? = null, onServiceCreated: (ScreenRecorderSrtLiveStreamer) -> Unit, onServiceDisconnected: (name: ComponentName?) -> Unit)
Starts and binds the service with the appropriate parameters.