Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

streamlit webrtc not working #1848

Open
utkars3 opened this issue Nov 8, 2024 · 10 comments
Open

streamlit webrtc not working #1848

utkars3 opened this issue Nov 8, 2024 · 10 comments

Comments

@utkars3
Copy link

utkars3 commented Nov 8, 2024

it keeps loading and showing a black screen.i tried with different version too.even when i checked the official release https://webrtc.streamlit.app/ even here also the same problem exists.

Screen.Recording.2024-11-09.at.12.58.32.AM.mov

I am not able to understand how to fix the issue

@whitphx
Copy link
Owner

whitphx commented Nov 26, 2024

Hi thanks for the report.
Looks like there has been some changes on Streamlit Cloud.
Please try https://huggingface.co/spaces/whitphx/streamlit-webrtc-example instead which is deployed on Hugging Face Spaces until we can find the fix.

@CristalViet
Copy link

Hi thanks for the report. Looks like there has been some changes on Streamlit Cloud. Please try https://huggingface.co/spaces/whitphx/streamlit-webrtc-example instead which is deployed on Hugging Face Spaces until we can find the fix.

Can I still use this library for my project in my localhost ?
I tried to run example code but it doesn't work.

@whitphx
Copy link
Owner

whitphx commented Nov 27, 2024

Yes, it should work.
Setting up the STUN server config may also be needed even in localhost.
If you are using VPN, try disabling it.

@Pratyush061
Copy link

Can you fix the issue of webcam not opening in streamlit webrtc as it is still not functional and i need it for deployment

@choigawoon
Copy link

having same issue.

@AlejandroMoc
Copy link

Having the same issue.

@PakmanGames
Copy link

having the same issue

1 similar comment
@difoxy2
Copy link

difoxy2 commented Jan 12, 2025

having the same issue

@rezimitpo
Copy link

rezimitpo commented Jan 12, 2025

The user identified an issue where streamlit-webrtc does not function properly with newer versions of Streamlit. They confirmed that the issue is resolved by downgrading the Streamlit package to version 1.38.0 while keeping streamlit-webrtc at its latest version. The problem appears to occur with Streamlit versions 1.39.0 and above.

@schachem
Copy link

schachem commented Feb 6, 2025

I can not get it to run even with streamlit package downgraded to v1.38.0.
Issue persists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants