article

Sindy@Amazon avatar image
Sindy@Amazon posted

Important Note Regarding Using VLCJ

Summary:

When using VLCJ, some play directives contain URLs for an ASHX file. These files contain multiple streams nested inside of them with one stream per line. VLCJ has difficulty parsing these files because the root ASHX file is not a standardized playlist format and sub items may themselves be playlist files. In the Java reference app this is handled by explicitly playing any sub items associated with a media item once it is finished playing, rather than letting VLCJ handle this on its own. For more details reference the finished(...) method of the AVSAudioPlayer class in the example implementation (https://github.com/alexa/alexa-avs-sample-app/blob/master/samples/javaclient/src/main/java/com/amazon/alexa/avs/AVSAudioPlayer.java).

Keywords: alexa voice service, vlcj, audio player

KB_0452

alexa voice serviceaudio
10 |3000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Article

Contributors

Sindy@Amazon contributed to this article