Comments (3)
Service workers have a strict CORS policy which means you need to serve the model from the same domain via https, otherwise the browser will not allow downloading the model.
from vosk-browser.
I understand, but we don´t think that is the problem since the model loads correctly and the browser even asks permission to use the mic, which also only works on secure networks. Right?
I tested on Opera, Chrome, and Mozilla.
This is what the Mozilla console shows:
Thank you very much for your time.
from vosk-browser.
Oh, I see. You have to pass the sampleRate to the recognizer constructor model.KaldiRecognizer(16000)
I guess I need to update the docs or examples.
from vosk-browser.
Related Issues (20)
- Result event not triggered on file upload HOT 4
- Build output location HOT 2
- Delays when transcribing streaming audio HOT 4
- information available in the User Agent string will be reduced
- can not build vosk-browser HOT 1
- View timing of words/phonemes? HOT 1
- Can't run HOT 14
- Can't build HOT 10
- Add SetMaxAlternatives
- Word confidence value is always 1...
- Two problems when using vosk-browser with non-streaming, separated static waveforms HOT 2
- Malayalam Model is not loading HOT 11
- Attempting to pass data to the KaldiRecognizer results in an odd internal error HOT 4
- react example process undefined HOT 2
- Is the demo working? HOT 1
- having problems running make (using wsl/ubuntu on windows)
- How to run vosk-browser instantly?
- Library Documentation and Numbers as non text HOT 4
- Get ready state of recognizer HOT 8
- Alternative? HOT 21
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vosk-browser.