DefaultGlVideoFrameDrawer
DefaultGlVideoFrameDrawer simply draws the frames as opaque quads onto the current surface. This drawer supports all buffer types in the SDK.
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.