VideoOnlySingleStreamer
A ISingleStreamer implementation for video only (without audio).
Parameters
the application context
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.
Constructors
Properties
Configuration information
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.
Returns the last throwable that occurred.
The video configuration flow.
Advanced settings for the video encoder.
A video source flow to access to advanced settings.
Functions
Adds a bitrate regulator controller to the streamer.
Gets configuration information
Opens the streamer endpoint.
Opens the streamer endpoint.
Clean and reset the streamer synchronously.
Removes the bitrate regulator controller from the streamer.
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.
Starts audio/video stream.
Stops video preview.
Stops audio/video stream.