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