onFrame

open override fun onFrame(bitmap: Any, timestampNs: Long, rotation: Int)

Sends a processed frame to this virtual video source. The frame will be encoded and sent to remote participants.

Parameters

bitmap

The processed bitmap (platform-specific, Any for cross-platform)

timestampNs

Timestamp in nanoseconds

rotation

Frame rotation in degrees (0, 90, 180, 270)