Skip to content

Is it possible to stream files to clients without causing a client-sided block? #670

@julianbibo

Description

@julianbibo

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions