VideoFrameBufferInit constructor

VideoFrameBufferInit({
  1. required VideoPixelFormat format,
  2. required int codedWidth,
  3. required int codedHeight,
  4. required int timestamp,
  5. int duration,
  6. JSArray<PlaneLayout> layout,
  7. DOMRectInit visibleRect,
  8. int displayWidth,
  9. int displayHeight,
  10. VideoColorSpaceInit colorSpace,
  11. JSArray<JSArrayBuffer> transfer,
  12. VideoFrameMetadata metadata,
})

Implementation

external factory VideoFrameBufferInit({
  required VideoPixelFormat format,
  required int codedWidth,
  required int codedHeight,
  required int timestamp,
  int duration,
  JSArray<PlaneLayout> layout,
  DOMRectInit visibleRect,
  int displayWidth,
  int displayHeight,
  VideoColorSpaceInit colorSpace,
  JSArray<JSArrayBuffer> transfer,
  VideoFrameMetadata metadata,
});