whitphx / streamlit-webrtc

Real-time video and audio processing on Streamlit
https://discuss.streamlit.io/t/new-component-streamlit-webrtc-a-new-way-to-deal-with-real-time-media-streams/8669
MIT License
1.39k stars 186 forks source link

streamlit-webrtc does not work on chrome (tested on Android and macOS) #1160

Open gustavz opened 1 year ago

gustavz commented 1 year ago

streamlit-webrtc seems to not work on chrome browser, I tested in on both Android and macOS with multiple apps. On both devices it works with Firefox though. Any idea why?

hcgprague commented 1 year ago

I do examples on Edge and chrome , streamlit-webrtc works.

JC1DA commented 1 year ago

I have kind of similar issue, and it took a lot of time (less than 1 minute) to initialize the connection on mobile devices . FYI, I have my service deployed on Azure behind a NGINX server. It seems the webrtc connection took a lot of time to get connected. Any suggestions to fix it?

whitphx commented 1 year ago

Similar issues: https://github.com/whitphx/streamlit-webrtc/issues/852#issuecomment-1139837756 https://github.com/whitphx/streamlit-webrtc/issues/552#issuecomment-1108781763

Basically, when at least one side of the connection, either of the server of the browser, is in some network configs such as being behind a proxy, WebRTC connection can't be established without a TURN server. So,