Viktorov
Viktorov

Reputation: 136

How to handle the end of the audio?

I use [media response] (https://developers.google.com/actions/assistant/responses) for play audio. When the audio finishes, I see actions.intent.MEDIA_STATUS in actions on google simulator. But the dialogflow does not send this intent to my web hook.

How do I set up an dialogflow agent to get this intent?

Upvotes: 0

Views: 97

Answers (1)

Viktorov
Viktorov

Reputation: 136

From doc:
If you're using Dialogflow, replace actions.intent.MEDIA_STATUS with the action name specified in the intent which receives the actions_intent_MEDIA_STATUS event.

enter image description here

Upvotes: 2

Related Questions