Skip to content

v1.27.0

Choose a tag to compare

@Vanilagy Vanilagy released this 17 Dec 14:38
· 673 commits to main since this release
b730a24
  • Added options to VideoSample's allocationSize() and copyTo() methods, allowing you to specify output custom pixel formats, plane layouts & more
  • VideoSample.copyTo() now returns Promise<PlaneLayout[]> instead of Promise<void>, exactly how the WebCodecs API does it
  • Added an optional layout option to VideoSampleInit
  • VideoSample's allocationSize() and copyTo() now throw with an explicit error message when called when format === null (#256)
  • Added a VideoSampleColorSpace export, now used by VideoSample.colorSpace
  • Added a hardwareAcceleration video conversion option (#254)
  • Improved decoder error stack traces (#244)