streamlit-webrtc
streamlit-webrtc copied to clipboard
streamlit-webrtc does not work on chrome (tested on Android and macOS)
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?
I do examples on Edge and chrome , streamlit-webrtc works.
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?
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,
- @JC1DA 's case looks like it.
- The reason why @gustavz 's and @hcgprague 's report differed was it - maybe their network environment were different. https://github.com/whitphx/streamlit-webrtc/issues/852#issuecomment-1139837756 was an example where someone could and others couldn't use the WebRTC example.
- If you are accessing https://webrtc.streamlit.app/, there is a problem on the server-side, which is discussed at https://github.com/whitphx/streamlit-webrtc/issues/1213. So please track the discussion there for the case of https://webrtc.streamlit.app/