Closed Bojne closed 2 years ago
hmm, that's weird.
As written in https://github.com/whitphx/streamlit-webrtc#https, the browser is not allowed to access the media devices in insecure contexts and the error you encountered indicates it, but http://localhost
should be considered as a secure context where the access is allowed.
Locally-delivered resources such as those with http://127.0.0.1 URLs, http://localhost and http://*.localhost URLs (e.g. http://dev.whatever.localhost/), and file:// URLs are also considered to have been delivered securely. https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts
How would you like to search bugs, edge cases, or any reasons that make localhost
be considered as an insecure context?
Hi! I tested again yesterday and I think I figured it out - I was using my monitor and closed my laptop. Although I think the audio will still work, but it actually does not. This gets fixed as I open my main laptop. Thank you!
Hi @Tsuchiya, I try to set up this simple app on my Mac:
But I got this error
But I
I don't have too much clue on how to start debugging this. Can you ping point some direction?