elevenlabs-python
elevenlabs-python copied to clipboard
Add chunk_size to (a)iter_bytes
Fixes https://github.com/elevenlabs/elevenlabs-python/issues/366
The issue is because the server now supports gzip responses and the client is allowing gzip as an encoding. This is a problem because people might want to stream the audio and if the chunk is too small or an odd number, it's not a valid audio chunk