libcimbar icon indicating copy to clipboard operation
libcimbar copied to clipboard

cimbar decoder on firefox 141 android crushed.

Open emergences opened this issue 4 months ago • 4 comments

recently I tried cimbar decoder wasm version, it went well in chromium base brower, but in firefox,decode file is much slower under 500kb size , up to 1m file the decoder caused my browser restart .

emergences avatar Aug 21 '25 02:08 emergences

That sounds a lot like a memory leak. What android version is this?

Thanks for trying it out! Hopefully I can get all the bugs fixed while it's in beta... 🙃

sz3 avatar Aug 21 '25 02:08 sz3

Also, (standard firefox troubleshooting advice) if you have any extensions running it might be useful to try with them off.

sz3 avatar Aug 23 '25 01:08 sz3

I tried both on normal firefox and my geckoview project (gecko version > 140) with no extensions on android10. Besides, I think an npm package for both the encoder and decoder would be useful, considering the number of frontend frameworks out there.

emergences avatar Aug 23 '25 11:08 emergences

Android 10 is pretty old. There's a chance that it doesn't have all the APIs we need -- the web decoder is built on fairly modern web apis (getMediaDevices, VideoFrame, requestVideoFrameCallback). I'd like to add some better error reporting to the webapp, if I do perhaps that can shed some light on the situation.

In the meantime, the native android app is (and will continue to be) the better option when available anyway. I've also been careful to make sure it keeps working on old android devices...

sz3 avatar Aug 23 '25 23:08 sz3