Companion

object Companion

Properties

Link copied to clipboard
Link copied to clipboard
const val SERVICE_NAME: String
Link copied to clipboard

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.