encode

fun encode(frame: VideoFrame, options: VideoEncoderEncodeOptions = definedExternally)(source)

MDN Reference