AbstractPreviewableSource
Abstract class for previewable sources to manage requestRelease.
Properties
Orientation provider of the capture source. It is used to orientate the frame according to the source orientation.
Flow of the last previewing state.
Flow of the last streaming state.
Mutex for the preview. Use it when you have to synchronise access to the preview. It is used by the IPreviewableSource user.
Gets the timebase used for the video source. If you can, prefer Timebase.REALTIME for video sources.
Functions
Configure the Configurable implementation.
Whether the video source has a preview.
Requests release.
Resets output and releases if isReleasedRequested is true.
Resets output implementation.
Resets preview and releases if isReleasedRequested is true.
Resets preview implementation.
Sets preview surface.
Sets a preview surface holder.
Sets a preview surface.
Starts video preview.
Sets preview surface and start video preview.
Starts audio and video capture. If you can prefer to call SingleStreamer.setAudioConfig before starting preview. It is a shortcut for setPreview and startPreview.
Starts frames or data stream generation Throws an exception if not ready for live stream
Stops video preview.
Stops frames or data stream generation