skill-sample-nodejs-audio-player icon indicating copy to clipboard operation
skill-sample-nodejs-audio-player copied to clipboard

There was a problem with the requested skill's response

Open tranchausky opened this issue 10 months ago • 0 comments

i try play a file mp3 or file m3u8 with response for alexa but how to fix, from my server

✓ MP3 version is 2 ✓ Bit rate is constant ✓ Bit rate is 48 kbps ✓ Sample rate is 16 khz ✓ File length is 90 seconds or less Result: Pass! Your file should work with Alexa.

{
	"body": {
		"version": "1.0",
		"response": {
			"outputSpeech": {
				"type": "SSML",
				"ssml": "<speak>Playing the audio stream.</speak>"
			},
			"directives": [
				{
					"type": "AudioPlayer.Play",
					"playBehavior": "REPLACE_ALL",
					"audioItem": {
						"stream": {
							"token": "sample-audio-token",
							"url": "https://audio1.maxi80.com",
							"offsetInMilliseconds": 0
						}
					}
				}
			],
			"type": "_DEFAULT_RESPONSE"
		},
		"sessionAttributes": {},
		"userAgent": "ask-node/2.14.0 Node/v16.20.2 sample/audioplayer-nodejs/v2.0"
	}
}

tranchausky avatar Jan 18 '25 12:01 tranchausky