copyToAsync
fun copyToAsync(destination: AllowSharedBufferSource, options: VideoFrameCopyToOptions = definedExternally): Promise<ReadonlyArray<PlaneLayout>>(source)
The copyTo() method of the VideoFrame interface copies the contents of the VideoFrame to an ArrayBuffer.