Re: Infinite HttpStreamingResponse Doesn't work with websocket on channels asgi

2021-03-17 Thread erfan faraj
I would think so but why should it? it didn't do that in the wsgi version. what happens behind the scenes in wsgi that causes it to not block other requests On Wednesday, March 17, 2021 at 8:10:41 PM UTC+3:30 Ryan Nowakowski wrote: > On Wed, Mar 17, 2021 at 07:15:20AM -0700, erfan far

Re: Infinite HttpStreamingResponse Doesn't work with websocket on channels asgi

2021-03-17 Thread erfan faraj
you mean the event loop? On Wednesday, March 17, 2021 at 5:33:49 PM UTC+3:30 Ryan Nowakowski wrote: > > > On March 17, 2021 8:29:53 AM CDT, erfan faraj wrote: > >I ran into an issue with channels asgi today. I had a wsgi server which > >i > >implemented with djang

Infinite HttpStreamingResponse Doesn't work with websocket on channels asgi

2021-03-17 Thread erfan faraj
Hello, 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