-
Notifications
You must be signed in to change notification settings - Fork 148
Description
I think it would be great to add instructions in the README on how to use quiet-js locally. It seems to me there are two ways:
- Either launch Chrome (or another browser) with a flag to enable asynchronous JS requests to fetch local files (else quiet-profiles.js cannot be fetched).
- Either use a (portable) local webserver such as Laragon to wrap around quiet-js examples.
I have tested the latter and it works very well.
Also the readme (or the live demo) could maybe be more explicit about the fact that ultrasound is way more reliable than sound transfer, and also that the volume should be quite low. At first, I thought it did not work because:
1- my computer had automatic noise filtering from microphone that I had to disable
2- Then, quiet-js (gh-pages branch) started to pick up the sound as evidenced by "1/1 packet lost" message, but all packets were lost,
3- Then I tried to lower down the sound to 20-50%, and the ultrasound send worked flawlessly from there on (even with music or other noises in the background!), whereas the sound transfer still did not work.
I know it's not your fault as the dev of this package that there are these roadblocks that may prevent users from effectively testing the app, but I think a few notes in the readme could save a lot of time (both for the users and for you since you'll get less questions about these issues!).
Thanks a lot for making this software, it works awesomely well!