SingleStreamer
constructor(context: Context, withAudio: Boolean = true, withVideo: Boolean = true, endpointFactory: IEndpointInternal.Factory = DynamicEndpointFactory(), defaultRotation: Int = context.displayRotation)
Parameters
context
the application context
withAudio
Boolean.true to capture audio. It can't be changed after instantiation.
withVideo
Boolean.true to capture video. It can't be changed after instantiation.
endpointFactory
the IEndpointInternal.Factory implementation. By default, it is a DynamicEndpointFactory.
defaultRotation
the default rotation in Surface rotation (Surface.ROTATION_0, ...). By default, it is the current device orientation.