Functions

Link copied to clipboard
abstract fun changeCaptureFormat(width: Int, height: Int, framerate: Int)
Link copied to clipboard
abstract fun dispose()
Perform any final cleanup here.
Link copied to clipboard
abstract fun initialize(surfaceTextureHelper: SurfaceTextureHelper, applicationContext: Context, capturerObserver: CapturerObserver)
This function is used to initialize the camera thread, the android application context, and the capture observer.
Link copied to clipboard
abstract fun isScreencast(): Boolean
Link copied to clipboard
abstract fun startCapture(width: Int, height: Int, framerate: Int)
Start capturing frames in a format that is as close as possible to width x height and framerate.
Link copied to clipboard
abstract fun stopCapture()
Stop capturing.