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.
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.