videoMediaProjectionSingleStreamer
Creates a SingleStreamer with the screen as video source and an audio source (by default, the microphone).
Parameters
the application context
the media projection. It can be obtained with MediaProjectionManager.getMediaProjection. Don't forget to call MediaProjection.stop when you are done.
the audio source factory. By default, it is the default microphone source factory. If set to null, you will have to set it later explicitly.
the audio output mode. By default, it is StreamerPipeline.AudioInputMode.CALLBACK.
the IEndpointInternal.Factory implementation. By default, it is a DynamicEndpointFactory.
the default rotation in Surface rotation (Surface.ROTATION_0, ...). By default, it is the current device orientation.
the ISurfaceProcessorInternal.Factory implementation. By default, it is a DefaultSurfaceProcessorFactory.
the IDispatcherProvider implementation. By default, it is a DispatcherProvider.