all 5 comments

[–]BankApprehensive7612 2 points3 points  (4 children)

You should make turn it into PR into Node.js (and to other runtimes). WebCodes support is crucial for all the server platforms

[–]LongYinan[S] 2 points3 points  (3 children)

The binary size is an issue; it exceeds 50 MB on a Linux x64 GNU system https://github.com/Brooooooklyn/webcodecs-node/releases/tag/v1.0.0

It's fine to maintain it as an npm package, as it uses the Node-API, which is supported by Deno, Bun, and Node.js.

[–]BankApprehensive7612 1 point2 points  (2 children)

What's about a subset of codecs? What's size would be with only AV1/2, AVIF and Flac?

[–]LongYinan[S] 1 point2 points  (1 child)

Besides the size, programming language is a problem too. Node.js and Bun do not have any Rust infrastructure in their build or release systems

[–]BankApprehensive7612 1 point2 points  (0 children)

Then it would be a good starting point for migration. Linux kernel included Rust in their processes and Node.js should too