msqr1 / Vosklet

A speech recognizer that can run on the browser, inspired by vosk-browser
MIT License
23 stars 1 forks source link

MacOs #13

Open YuryKonvpalto opened 3 weeks ago

YuryKonvpalto commented 3 weeks ago

Hi msqr1. I have tested simple app with mic on Android phone - it loads well and works. On the other hand, I tried to run app on iphone (tried both Safari and Chrome) and it seems something is blocking the model to be downloaded to iphone or couldnt be started. Its stucks on (model = await module.createModel(......) So the same code works fine with android (Galaxy phone with chrome).

Seems like iphone's private file system works somehow different, or maybe closed at all for downloads,

Do you have ny ideas gow to circumvent it?

msqr1 commented 3 weeks ago

What version of Chrome/Safari are you using?

YuryKonvpalto commented 3 weeks ago

Chrome - 128.0 Safari - 17.6.1

msqr1 commented 1 day ago

I'm using createWritable to write in OPFS, having like 75% browser support (bad, idk why I did this). I am working to use SyncAccessHandle in a worker instead that can do the same thing, but with 92% browser support

YuryKonvpalto commented 1 day ago

Yes, maybe that was the reason it didnt work. Anyway - a greate work, Msqr1, I like your variant of Vosk very much, thank you for sharing your creation!