Transcriptions using Azure Communication Services: how to transcribe a speech produced by play_media?

Javier Montes 20 Reputation points
2025-08-07T11:09:56.7133333+00:00

Hi everyone.

Im trying to implement an AI-based assistant that basically has to take a conversation with a real person. I would like the system to be able to deal interruptions, i.e if the assistant is speaking and the person suddenly starts a speech, the assistant has to stop.

In order to deal that I have came with the idea of using "TranscriptionOptions" from the ACS python SDK. The problem here is that all the audio that the person produces is taken by TranscriptionOptions, however, the audio that the assistant produces is achieved by using 'play_media()' method and that audio is not taken by TranscriptionOptions. What could I do?

Thanks all in advance.

Azure Communication Services
{count} votes

Your answer

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