elevenlabs-python icon indicating copy to clipboard operation
elevenlabs-python copied to clipboard

Add chunk_size to (a)iter_bytes

Open tonyay163 opened this issue 1 year ago • 0 comments

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

tonyay163 avatar Oct 01 '24 10:10 tonyay163