BaseCameraLiveStreamer
A BaseCameraStreamer that sends microphone and camera 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
Get/Set current camera id.
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.release but it also calls stopPreview.
Starts audio and video capture. BaseStreamer.configure must have been called at least once.
Starts audio/video stream. Stream depends of the endpoint: Audio/video could be write to a file or send to a remote device. To avoid creating an unresponsive UI, do not call on main thread.
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 capture. It also stops stream if the stream is running.
Stops audio/video stream.