VideoOnlyDualStreamer
A ISingleStreamer implementation for video only (without audio).
Parameters
the application context
the IEndpointInternal.Factory implementation of the first output. By default, it is a DynamicEndpointFactory.
the IEndpointInternal.Factory implementation of the second output. By default, it is a DynamicEndpointFactory.
the default rotation in Surface rotation (Surface.ROTATION_0, ...). By default, it is the current device orientation.
Constructors
Properties
First output of the streamer.
Returns true if output is opened. For example, if the streamer is connected to a server if the endpoint is SRT or RTMP.
Whether the video source has a preview.
Returns true if stream is running.
Second output of the streamer.
Returns the last throwable that occurred.
A video source flow to access to advanced settings.
Functions
Clean and reset the streamer synchronously.
Sets activity result from ComponentActivity.registerForActivityResult callback.
Sets the camera id.
Sets the preview surface.
Sets a preview surface holder.
Sets a preview surface.
Sets the target rotation.
Configures only video settings.
Sets the video source.
Starts video preview.
Sets preview surface and start video preview.
Starts audio/video stream.
Stops video preview.
Stops audio/video stream.