Whiteboard Video Capturer
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 })
Functions
Link copied to clipboard
Link copied to clipboard
open override fun initialize(surfaceTextureHelper: SurfaceTextureHelper?, context: Context?, observer: CapturerObserver?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard