Repository navigation
Bug fixes
-
A custom connector now stays open between requests.
Communicate.stream()opens one aiohttp session per request, and aiohttp closes a connector when the session using it closes. If you passed your ownconnector, any text longer than one chunk, and any retry, failed withSession is closed.list_voiceshad the same problem and is fixed too.By @imeerkhurram and @rany2 in #532.
⚠️ Behaviour change
- If you pass in a connector, edge-tts no longer closes it, so closing it is now up to you.