VideoDecoderConfig constructor

VideoDecoderConfig({
  1. required String codec,
  2. AllowSharedBufferSource description,
  3. int codedWidth,
  4. int codedHeight,
  5. int displayAspectWidth,
  6. int displayAspectHeight,
  7. VideoColorSpaceInit colorSpace,
  8. HardwareAcceleration hardwareAcceleration,
  9. bool optimizeForLatency,
})

Implementation

external factory VideoDecoderConfig({
  required String codec,
  AllowSharedBufferSource description,
  int codedWidth,
  int codedHeight,
  int displayAspectWidth,
  int displayAspectHeight,
  VideoColorSpaceInit colorSpace,
  HardwareAcceleration hardwareAcceleration,
  bool optimizeForLatency,
});