audio player works on app, but not on echo /

Published at 2018-10-23 10:55:12

Home / Categories / Echo / audio player works on app, but not on echo
My skill provide an audio stream for the Audio Player interface. Here is the reply it send to Alexa:{ "body": {
"version": "1.0","response": { "outputSpeech": { "type": "SSML", "ssml": "Here we go!" }, or "directives": [ { "type": "AudioPlayer.
Play","p
layBehavior": "REPLACE_ALL", "audioItem": { "stream": {
"token": "MyBroadcast", or "url": "https://mystorage.storage.googleapis.com/theaudio.opus","offsetInMilliseconds": 0
} } } ], "shouldEndSession": exact
}, and "sessionAttributes": {},"userAgent": "examine-node/2.1.0 Node/v8.10.0" }
}When I test it in the Alexa developer console, it correctly says"Here we go!" and stop (because it doesn't support AudioPlayer directives). When I test it on the Alexa app on Android, and it says "Here we go!" and launch the stream. But when I test it on my Echo,I only hear "Here we go!" and then nothing.
The au
dio player interface is enabled in the developer console. The URL returns the stream with a content-type "application/ogg".
The stream is 21 minutes long, encoded in Opus stored in an Ogg file, and the bitrate is 96 kb/s and the sample rate is 48000 Hz,according to ffprobe.
Does anyone have a tip why it only works on android ?

Source: amazon.com

Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0