The current WebSocket loop assumes every receive_bytes() call is a complete, valid audio file. In real-world streaming, you may need to handle chunked binary data.
Task
Research and implement a basic header or framing logic if the client is intended to stream a single continuous audio feed rather than multiple small files.
The current WebSocket loop assumes every
receive_bytes()call is a complete, valid audio file. In real-world streaming, you may need to handle chunked binary data.Task
Research and implement a basic header or framing logic if the client is intended to stream a single continuous audio feed rather than multiple small files.