Open coreyryanhanson opened 2 months ago
Same error here. I think it is related to this: https://stackoverflow.com/questions/67663961/cannot-read-property-getusermedia-of-undefined-over-https
I enabled "Insecure origins treated as secure" in Chrome and it worked.
I think this issue is related to: https://github.com/B4PT0R/streamlit-mic-recorder/issues/4
Because I get the same behavior and error. I decided to open as a new issue, because I have additional debugging information that comes from my browser when I try to inspect the button (on a hosted instance).
Anyway, I want to preface this by saying that this plugin works great if I run an instance locally on my own laptop (and host it to other devices which in turn ask for their own microphones) But, if I try to run this plugin remotely within a clean venv on a server like runpod, the button does not do anything or even prompt users to access their hardware only revealing these errors when inspecting elements. I have a feeling that there is some dependency missing that is taken for granted on most installs. I just haven't been able to figure out what it is.