getOffset in Google Actions



Hello everyone!
Is there a way to take the offset after the user has stopped audio in google? to play the audio I use mediaResponse and I saw that you can set it an initial offset with startOffset.


Hi @Ire,

Afaik, Google Actions don’t send a request to the fulfillment endpoint when a user pauses/stops the audioplayer. This means that there is, unfortunately, no way to retrieve an offset.


It wasn’t possible with Dialogflow/GoogleAssistant, but it’s possible with the Conversational Actions.

Here’s an example:


Hi @jan and @AlexSwe,
thanks for your help. Now I’m experimenting with getting the offset with getprogress () using mediaResponse and not AudioPlayer. It appears that a correct value is being returned to me.
Thanks so much!