Is it possible to stream files to clients without causing a client-sided block? #733
Replies: 4 comments
-
Isn't this a question that needs to be asked to the maintainers of the JS client? I can't really answer for a problem in the JS client. |
Beta Was this translation helpful? Give feedback.
-
I don't know the specific workings of python-socketio, but does it support streaming at all? Say, if the JS client can support streams (socket.io-stream), can it receive "normal" non-stream emits from the python-socketio server? |
Beta Was this translation helpful? Give feedback.
-
The Socket.IO protocol doesn't have anything called "streaming". I think you are looking at an extension built by a 3rd party that works on top of the standard Socket.IO packet exchange mechanisms. |
Beta Was this translation helpful? Give feedback.
-
Alright thanks! I'll look into it |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to send medium-sized audio files over socketio, except the JS client hangs while it is receiving the emitted data, and no other packets can be received during that time. Is it possible to stream files to clients without causing the client's socketio.on(..) handler to block everything?
I found an implementation of socket.io-stream here, also wondering if there is a Python implementation of this: https://stackoverflow.com/a/40391620/13216113
Love your work Miguel!
Beta Was this translation helpful? Give feedback.
All reactions