Vanilagy / mp4-muxer

MP4 multiplexer in pure TypeScript with support for WebCodecs API, video & audio.
https://vanilagy.github.io/mp4-muxer/demo
MIT License
419 stars 32 forks source link

Error on android #33

Closed bil-ash closed 7 months ago

bil-ash commented 8 months ago

Chrome for android version 120 added support for aac in webcodecs but I get error while using mp4-muxer(on 2 different android devices running 2 different OS version but chrome 120). Things are fine on desktop. The error screenshot is provided below. mp4muxer error

Seems similar to #32 . Also, support for hls straming (fMP4) would be great feature addition.

Vanilagy commented 8 months ago

Even though this error occurs in my demo, it seems like it is a problem with AudioEncoder and not my library. I suggest you play around with creating several AudioEncoders and passing it AudioData and seeing what works. Maybe there's a bitrate mismatch going on?

Vanilagy commented 7 months ago

I'll close this issue for now as it seems stale. If you still need help with something, feel free to reopen it :)