Microphone Component Not Working on Linux Cloud Server Deployment

Hi,

I’m using the following microphone component for my app:

https://github.com/B4PT0R/streamlit-mic-recorder

When deploying this to a cloud server with a Linux system, it’s not working. The button appears, but there’s no activity when clicked. However, the same app works on Streamlit Cloud with the same requirements file.

I’m not sure why this is happening. Are there any special requirements or configurations needed to deploy the code on a customer’s Linux hosting?

Has this issue been resolved? I’m also facing the same problem.

Hi @W11,

It is an issue of using HTTPS. In my case, I am testing through the IP address without HTTPS, so most of the browsers don’t allow me to use the microphone without HTTPS. I have used HTTPS, and after that, it works fine for me.

Thanks

Thank you for your information. How did you change http to https? Nginx?

I was able to resolve the issue by using Nginx and enabling HTTPS communication. Thank you very much.