On March 17, 2021 8:29:53 AM CDT, erfan faraj <erfan...@gmail.com> wrote:
>I ran into an issue with channels asgi today. I had a wsgi server which
>i 
>implemented with django and django rest framework. the server streams
>video 
>from a webcam indefinitly and at the same time listens for requests
>like 
>save image which saves a frame on the server or stops and starts the 
>stream. this worked fine. at the same time as the livestream i could do
>
>requests. but when i added asgi to my application so i could use the 
>websocket feature for notifications, it stopped working. when i start
>the 
>stream i can do no other request, even the websocket doesn't work. what
>
>should i do?

I haven't messed much with Django async. Could your video streaming view be 
blocking the asgi run loop?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/708E72CE-5864-4A7D-AED1-0C83A4AC0262%40fattuba.com.

Reply via email to