semperai / amica

Amica is an open source interface for interactive communication with 3D characters with voice synthesis and speech recognition.
https://heyamica.com
MIT License
591 stars 92 forks source link

getusermedia #17

Open cake2 opened 7 months ago

cake2 commented 7 months ago

How do you use this in a headless server? The latest browsers (firefox/chrome) want a https connection. So instead of localhost, I just enter IP of server on the LAN. Where to install the certificates at?

vad error {"message":"getUserMedia is not implemented in this browser"}

This is nice though!

kasumi-1 commented 7 months ago

Hey,

We should probably put together guide for how to do this, but check out this thread https://www.reddit.com/r/homelab/comments/uaqy88/ssl_certificates_for_local_network_home_domain/ has some script that should work. Basically, you will want to have your server configured to use the self signed cert, and on your device import the cert.

morphles commented 7 months ago

@cake2 for me I did not want to bother with that, I have my phone on my home vpn via NAS, and just connect to my main machine. Now of course there is that thingie that it wants https, but with chrome (which I genearlly don't use) there is option to treat insecure origins as secure (for specific hosts), so I just set that to my machines lan ip and it works with no certs. And I can chat hands free on my lunch walk or what no :)