-
-
Notifications
You must be signed in to change notification settings - Fork 168
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
Video is not being displayed #44
Comments
Hi, thank you for reporting. However, there are many other potential obstacles to establish WebRTC connection to remote peers.
|
Hey @whitphx, thanks a lot for getting back so fast. I've tried running the example locally and it works like a charm 💯 . I've also tried the app hosted on heroku and the outcome is the same as the app hosted on streamlit. Looking forward to complete web-rtc through streamlit without any hiccups. Edit 1: While running the app locally and operating in a few modes, I've observed that the app's misbehaves in 2 ways:
In both the case I've observed a similar error log printed in the terminal, as attached below:
|
Thank you for the report! |
Thank you for your great work! |
I found a solution. in the app.py:321,
This needs to be reflected to the example codes accordingly. |
Thank you for the report! While this problem may be related to #73 and I'm working on fixing the fundamental issue, |
@Ashish013 same problem does you find any solution |
The problem has still been happening sometimes and I updated the fix suggested in #44 (comment) . Timeout must be set to result = webrtc_ctx.video_transformer.result_queue.get(timeout=1.0) I updated |
@whitphx any times I try to run the app.py I receive “Your app is having trouble loading the streamlit_webrtc.webrtc_streamer component”.how can I solve this issue |
hi,did u solve this problem? |
Exception in callback Transaction.__retry() handle: <TimerHandle when=3215181.568628646 Transaction.__retry()> Traceback (most recent call last): File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 1054, in sendto
AttributeError: 'NoneType' object has no attribute 'sendto' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/asyncio/events.py", line 80, in _run
File "/home/adminuser/venv/lib/python3.9/site-packages/aioice/stun.py", line 312, in __retry
File "/home/adminuser/venv/lib/python3.9/site-packages/aioice/ice.py", line 266, in send_stun
File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 1064, in sendto
File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 711, in _fatal_error
AttributeError: 'NoneType' object has no attribute 'call_exception_handler' Exception in callback Transaction.__retry() handle: <TimerHandle when=3215243.142471571 Transaction.__retry()> Traceback (most recent call last): File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 1054, in sendto
AttributeError: 'NoneType' object has no attribute 'sendto' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/asyncio/events.py", line 80, in _run
File "/home/adminuser/venv/lib/python3.9/site-packages/aioice/stun.py", line 312, in __retry
File "/home/adminuser/venv/lib/python3.9/site-packages/aioice/ice.py", line 266, in send_stun
File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 1064, in sendto
File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 711, in _fatal_error
AttributeError: 'NoneType' object has no attribute 'call_exception_handler' This error comes when i deploy my app on streamlit. the webcam not started and give me this error.
|
Hey @whitphx, I've tracked this repo from the forums. And when I'm trying to access the website for a project I'm working on, it is taking forever to display even the simple video loopback. So is this a problem from myside or is the site broken ?
The text was updated successfully, but these errors were encountered: