onFrame

abstract fun onFrame(rotatedWidth: Int, rotatedHeight: Int, rotation: Int)

Parameters

rotatedWidth

The width of the video frame after applying the specified rotation.

rotatedHeight

The height of the video frame after applying the specified rotation.

rotation

The rotation angle of the video frame in degrees. This value is one of 0, 90, 180, or 270.