# VideoSource

abstract class VideoSource

Created by pedro on 11/1/24.

#### Inheritors

BitmapSource
BufferVideoSource
Camera1Source
Camera2Source
NoVideoSource
ScreenSource
VideoFileSource

## Constructors

VideoSource
Link copied to clipboard
constructor()

## Properties

created
Link copied to clipboard
var created: Boolean
fps
Link copied to clipboard
var fps: Int
height
Link copied to clipboard
var height: Int
rotation
Link copied to clipboard
var rotation: Int
surfaceTexture
Link copied to clipboard
var surfaceTexture: SurfaceTexture?
width
Link copied to clipboard
var width: Int

## Functions

getOrientationConfig
Link copied to clipboard
open fun getOrientationConfig(): OrientationConfig
init
Link copied to clipboard
fun init(width: Int, height: Int, fps: Int, rotation: Int): Boolean
isRunning
Link copied to clipboard
abstract fun isRunning(): Boolean
release
Link copied to clipboard
abstract fun release()
start
Link copied to clipboard
abstract fun start(surfaceTexture: SurfaceTexture)
stop
Link copied to clipboard
abstract fun stop()