BaseCameraStreamer
A BaseStreamer that sends microphone and camera frames.
Parameters
application context
Boolean.true to capture audio
a IMuxer implementation
a IEndpoint implementation
initialize OnErrorListener
Inheritors
Constructors
Properties
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.
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.
Stops capture. It also stops stream if the stream is running.
Stops audio/video stream.