BitmapFrameCapturer

open class BitmapFrameCapturer : VideoCapturer

A VideoCapturer that can be manually driven by passing in Bitmap.

Once startCapture is called, call pushBitmap to render images as video frames.

Constructors

BitmapFrameCapturer
Link copied to clipboard
fun BitmapFrameCapturer()

Functions

changeCaptureFormat
Link copied to clipboard
open override fun changeCaptureFormat(width: Int, height: Int, framerate: Int)
dispose
Link copied to clipboard
open override fun dispose()
initialize
Link copied to clipboard
open override fun initialize(surfaceTextureHelper: SurfaceTextureHelper, context: Context, observer: CapturerObserver)
isScreencast
Link copied to clipboard
open override fun isScreencast(): Boolean
pushBitmap
Link copied to clipboard
fun pushBitmap(bitmap: Bitmap, rotationDegrees: Int)
startCapture
Link copied to clipboard
open override fun startCapture(width: Int, height: Int, framerate: Int)
stopCapture
Link copied to clipboard
open override fun stopCapture()

Sources

SDK source
Link copied to clipboard