snipsco / snips-issues

Feel free to share your bugs with us.
14 stars 5 forks source link

Audio electronJs app doesn't play when Snips-audio-server is running #196

Closed Nizar0001 closed 5 years ago

Nizar0001 commented 5 years ago

We are implementing a UI app based on ReactJS and ElectronJs, we try to play a simple mp3 file from electron. when snips-audio-server is not running, the audio is fine (mp3 files are playing locally using electron (JS) perfectly). when not ! electron can not play audio. (seems hardware resources are reserved with the Snips audio server).

cpoisson commented 5 years ago

Hello @Nizar0001,

Looks like a support issue, you should go on the forum in this case. On which platform are you running your UI app?

Do not forget to provide more context about your problem. on which platform you are running, which version of snips you are using and so on. Without those informations support is totally impractical.

If on linux using alsa, the way to share your resources is using dmix for playback and dsnoop for microphone capture. (in this case, you can have a look to alsa documentation or the hints provided in our docs in the audio troubleshooting section)

I have to close this issue, this repository is dedicated to bugs and feature request