Methods
encodeFileAndPublish
encodeFileAndPublish( filePath: string , callback: function ) : void
Parameters
filePath: string
callback: function
( error: Error , encodedURL: string ) : void
Parameters
error: Error
encodedURL: string
Returns void
Returns void
encodeFileAndPublishAs
encodeFileAndPublishAs( filePath: string , outputKey: string , callback: function ) : void
Parameters
filePath: string
outputKey: string
callback: function
( error: Error , encodedURL: string ) : void
Parameters
error: Error
encodedURL: string
Returns void
Returns void
encodeURLAndPublish
encodeURLAndPublish( sourceURL: string , callback: function ) : void
Parameters
sourceURL: string
callback: function
( error: Error , encodedURL: string ) : void
Parameters
error: Error
encodedURL: string
Returns void
Returns void
encodeURLAndPublishAs
encodeURLAndPublishAs( sourceURL: string , outputKey: string , callback: function ) : void
Parameters
sourceURL: string
outputKey: string
callback: function
( error: Error , encodedURL: string ) : void
Parameters
error: Error
encodedURL: string
Returns void
Returns void
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
Encodes an audio file so that it can be used in Alexa responses, as part of an <audio> tag in an SSML response.
Allows for the use of pre-recorded audio in "regular" (i.e., non-AudioPlayer) skills. More info here.
Once the audio is encoded, BSTEncode uploads it to S3 so it is accessible to Alexa.
Audio is encoded in compliance with Alexa standards: MP3, 48 kbps, 16000 hz