WhiteboardVideoCapturer

class WhiteboardVideoCapturer(context: Context, shapesProvider: () -> List<WhiteboardShape>, useImageBackgroundProvider: () -> Boolean = { false }) : VideoCapturer

WhiteboardVideoCapturer - Captures the whiteboard canvas as a video stream.

This capturer renders whiteboard shapes to a bitmap and converts them to video frames for streaming via WebRTC, similar to HTML Canvas's captureStream(30) API.

Constructors

Link copied to clipboard
constructor(context: Context, shapesProvider: () -> List<WhiteboardShape>, useImageBackgroundProvider: () -> Boolean = { false })

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun changeCaptureFormat(width: Int, height: Int, frameRate: Int)
Link copied to clipboard
open override fun dispose()
Link copied to clipboard
open override fun initialize(surfaceTextureHelper: SurfaceTextureHelper?, context: Context?, observer: CapturerObserver?)
Link copied to clipboard
open override fun isScreencast(): Boolean
Link copied to clipboard
open override fun startCapture(width: Int, height: Int, frameRate: Int)
Link copied to clipboard
open override fun stopCapture()