Package-level declarations
Types
Link copied to clipboard
abstract class AbstractPreviewableSource : ISurfaceSourceInternal, IVideoSourceInternal, IPreviewableSource
Abstract class for previewable sources to manage requestRelease.
Link copied to clipboard
interface IPreviewableSource
Interface for video sources that can be previewed.
Link copied to clipboard
interface ISurfaceSourceInternal
Interface for video source that provides a Surface for video stream.
Link copied to clipboard
interface IVideoFrameSourceInternal
Link copied to clipboard
interface IVideoSource
The public interface for video sources.
Link copied to clipboard
interface IVideoSourceInternal : IVideoSource, SuspendStreamable, SuspendConfigurable<VideoSourceConfig> , Releasable
The internal interface for video sources.
Link copied to clipboard
data class VideoSourceConfig(val resolution: Size = DEFAULT_RESOLUTION, val fps: Int = DEFAULT_FPS, val dynamicRangeProfile: DynamicRangeProfile = DynamicRangeProfile.sdr)
Functions
Link copied to clipboard
Sets a preview surface holder.
Sets a preview surface.
Link copied to clipboard
Starts audio and video capture. If you can prefer to call SingleStreamer.setAudioConfig before starting preview. It is a shortcut for setPreview and startPreview.