EncodedVideoChunkInit constructor

EncodedVideoChunkInit({
  1. required EncodedVideoChunkType type,
  2. required int timestamp,
  3. int duration,
  4. required AllowSharedBufferSource data,
  5. JSArray<JSArrayBuffer> transfer,
})

Implementation

external factory EncodedVideoChunkInit({
  required EncodedVideoChunkType type,
  required int timestamp,
  int duration,
  required AllowSharedBufferSource data,
  JSArray<JSArrayBuffer> transfer,
});