Interface FetchAndDemuxError

This error indicates an MP3 could not be retrieved from Alexa.

export
interface

FetchAndDemuxError

Hierarchy

  • FetchAndDemuxError

Index

Properties

Properties

Optional data

data: undefined | { audioBuffer: ArrayBuffer }

The AudioData the demuxer was able to extract. If this property is present it will contain a playable audio buffer.

message

message: string

Descriptive string error message.

Optional statusCode

statusCode: undefined | number

The specific HTTP error code when encountered trying to download the file. In the event of a client timeout, this would be undefined.

2019, Amazon.com, Inc. or its affiliates. All Rights Reserved.