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.
Thanks!
getOffset in Google Actions
Ire
#1
jan
#2
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.
AlexSwe
#3
It wasn’t possible with Dialogflow/GoogleAssistant, but it’s possible with the Conversational Actions.
Here’s an example: https://github.com/jovotech/jovo-framework/blob/master/examples/typescript/02_googleassistantconv/media/src/app.ts#L36