BaseScreenRecorderLiveStreamer
A BaseScreenRecorderStreamer that sends microphone and screen frames to a remote device.
Parameters
application context
Boolean.true to capture audio. False to disable audio capture.
a IMuxer implementation
a ILiveEndpoint implementation
initialize OnErrorListener
initialize OnConnectionListener
Constructors
Properties
Set/get activity result from ComponentActivity.registerForActivityResult callback. It is mandatory to set this before startStream.
Access configuration helper.
Check if the streamer is connected to the server.
Listener to manage connection.
Listener that reports streamer error. Supports only one listener.
Access extended streamer settings.
Functions
Configures audio settings. It is the first method to call after a BaseStreamer instantiation. It must be call when both stream and audio capture are not running.
Configures video settings. It is the first method to call after a BaseStreamer instantiation. It must be call when both stream and video capture are not running.
Configures both video and audio settings. It is the first method to call after a BaseStreamer instantiation. It must be call when both stream and audio and video capture are not running.
Disconnect from the remote server.
Get a streamer if it from generic class or interface
Same as BaseStreamer but it prepares ScreenSource.encoderSurface. You must have set activityResult before.
Connect to a remote server and start stream. Same as calling connect, then startStream. To avoid creating an unresponsive UI, do not call on main thread.
Stops audio/video stream.