DefaultGlVideoFrameDrawer

DefaultGlVideoFrameDrawer simply draws the frames as opaque quads onto the current surface. This drawer supports all buffer types in the SDK.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun drawFrame(frame: VideoFrame, viewportX: Int, viewportY: Int, viewportWidth: Int, viewportHeight: Int, additionalRenderMatrix: Matrix?)

Draw a VideoFrame to the current EGL surface using the provided viewport and matrix. additionalRenderMatrix will be applied on top of any matrices attached to the video frame buffer. The resulting draw will have the rotation and any internal transform matrices applied.

Link copied to clipboard
open override fun release()

Deallocate any state or resources held by this object