copyTo method

void copyTo(
  1. AllowSharedBufferSource destination
)

@AvailableInWorkers("window_and_dedicated")

The copyTo() method of the EncodedVideoChunk interface copies the encoded chunk of video data.

Implementation

external void copyTo(AllowSharedBufferSource destination);