Callback for bookmark in SSML are missed

苦水缸 1 Reputation point

TTSAzure(key, region).synthesizer.speak_ssml_async() is to generate audio file. Before that, TTSAzure(key, region).synthesizer.bookmark_reached.connect() is to register a common bookmark callback which name is '_cb_marks()' in the test code.
The problem is some of callbacks are always missed, which results in missing tags in .json files used to store eslapsed time for bookmarks.

Can't find a way to attach my source code and testing files.

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
804 questions
{count} votes