Error While using streamlit-webrtc

My work:

Hi I have build an app which predict yoga pose but there is problem regarding webcam
while running on local server with OpenCV I am able to track my pose but after implementing

streamlit-webrtc
Issue has been generated it cannot open Camera feed

Detail Error:

Connection(0) Check CandidatePair((‘192.168.0.102’, 51048) → (‘103.132.3.54’, 61749)) State.IN_PROGRESS → State.FAILED
2021-06-09 12:33:44.326 Connection(0) ICE failed
2021-06-09 12:33:44.360 ICE connection state is failed
2021-06-09 12:33:44.362 ICE connection state is closed

I am just Enjoying the process to bulid this app and appreciate the Work of streamlit team and also
@whitphx for creating streamlit-webrtc

Waiting for answer
Thankyou

I have the same issue with ICE on streamlit sharing :confused:

@iamchoudhari11 I have deployed my app in streamlit sharing and got the same error. Did you find any solution for it? And soft-nougat, Did you get to know why is this happening. Any tips would help me. Thanks. @whitphx I appreciate the streamlit_webrtc you have created then I’m getting some errors when deployed in cloud platforms and even when deployed in streamlit sharing and the error in streamlit sharing is similar to the above-stated i.,e, ICE connection failed and closed. If anyone knows how to overcome these errors please let me know. Thanks.

I am facing the same issue. The webcam isn’t being viewed, when hosted on streamlit. sharing.

I have attached the link to my application: https://share.streamlit.io/rahularepaka/objectdetectionweb/main/main.py

Here is the log :

021-08-07 08:04:07.633 Connection(0) ICE failed
2021-08-07 08:04:07.642 ICE connection state is failed
2021-08-07 08:04:07.642 ICE connection state is closed

Thanks!