Callback for bookmark in SSML are missed

苦水缸 1 Reputation point
2022-11-11T15:16:10.59+00:00

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
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.