onFrame

open override fun onFrame(videoFrame: VideoFrame)

Called when a new frame is received. Sends the frame to be rendered.

Parameters

videoFrame

The VideoFrame received from WebRTC connection to draw on the screen.