Alexa Audioplayer fails when setting a positive value in setOffsetInMilliseconds()

amazon-alexa

#1

I have this simple snippet. If I set any positive value in the setOffsetInMilliseconds function, i get
AlexaSkill.PlaybackStopped and immediately after AlexaSkill.PlaybackFailed.

If I set the parameter to 0 it works.
What do I do wrong?

this.$alexaSkill.$audioPlayer
            .setOffsetInMilliseconds(4000)
            .play(link, token)
            .tell(this.$speech)

#2

Oddly also removing the setOffsetInMilliseconds line brings me to a AlexaSkill.PlaybackFailed state.
The only way to make it work is calling it with a null or zero parameter like AlexaSkill.PlaybackFailed(0)


#3

Would you mind to share the audio file? I would try it on my device.


#4

Sure. How could I send it to you in private?