sinch-rtc

# VideoUtils

object VideoUtils

Entry point for accessing helper methods of video frames processing.

## Functions

convertToBlackAndWhite
Link copied to clipboard
@JvmStatic
fun convertToBlackAndWhite(frame: VideoFrame)

Demo method that shows how to process in-place VideoFrame by converting it to black-and-white image.

I420toNV21Frame
Link copied to clipboard
@JvmStatic
fun I420toNV21Frame(frame: VideoFrame): VideoFrame

Converts frame in I420 to NV21.