CameraSrtLiveStreamer
constructor(context: Context, enableAudio: Boolean = true, tsServiceInfo: TsServiceInfo = context.defaultTsServiceInfo, bitrateRegulatorFactory: IBitrateRegulatorFactory? = null, bitrateRegulatorConfig: BitrateRegulatorConfig? = null, initialOnErrorListener: OnErrorListener? = null, initialOnConnectionListener: OnConnectionListener? = null)
Parameters
context
application context
tsServiceInfo
MPEG-TS service description
enableAudio
Boolean.true to capture audio. False to disable audio capture.
bitrateRegulatorFactory
a IBitrateRegulatorFactory implementation. Use it to customized bitrate regulator. If bitrateRegulatorConfig is not null, bitrateRegulatorFactory must not be null.
bitrateRegulatorConfig
bitrate regulator configuration. If bitrateRegulatorFactory is not null, bitrateRegulatorConfig must not be null.
initialOnErrorListener
initialize OnErrorListener
initialOnConnectionListener
initialize OnConnectionListener