CameraTsFileStreamer
BaseCameraFileStreamer that sends microphone and video frames to a TS File.
Parameters
application context
Boolean.true to capture audio. False to disable audio capture.
MPEG-TS service description
initialize OnErrorListener
Constructors
Properties
Get/Set current camera id.
Get/Set file. To set an OutputStream instead, see outputStream.
Access configuration helper.
Listener that reports streamer error. Supports only one listener.
Get/Set outputStream. outputStream will be closed on stopStream. To set an File instead, see file.
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.
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.
Same as BaseCameraStreamer.startStream with RequiresPermission annotation for Manifest.permission.WRITE_EXTERNAL_STORAGE.
Stops capture. It also stops stream if the stream is running.
Stops audio/video stream.