Package-level declarations

Types

Link copied to clipboard
interface IAudioInput

The public interface for the audio input. It provides access to the audio source, the audio processor, and the streaming state.

Link copied to clipboard
interface IVideoInput

The public interface for the video input. It provides access to the video source, the video processor, and the streaming state.

Properties

Link copied to clipboard

Whether the pipeline has an audio source.

Whether the pipeline has a video source.

Functions

Link copied to clipboard
suspend fun IVideoInput.takeJpegSnapshot(file: File, @IntRange(from = 0, to = 100) quality: Int = 100, @IntRange(from = 0, to = 359) rotationDegrees: Int = 0)
suspend fun IVideoInput.takeJpegSnapshot(filePathString: String, @IntRange(from = 0, to = 100) quality: Int = 100, @IntRange(from = 0, to = 359) rotationDegrees: Int = 0)

Takes a JPEG snapshot of the current video frame.

suspend fun IVideoInput.takeJpegSnapshot(outputStream: OutputStream, @IntRange(from = 0, to = 100) quality: Int = 100, @IntRange(from = 0, to = 359) rotationDegrees: Int = 0)

Takes a snapshot of the current video frame.