Audio Streaming Failures

Sigh. Could really use some help with this, I’ve never run into this problem before.

Here’s a representative HLS stream, containing MP3 audio. VLC plays it just fine, and indeed confirms that the content is MP3.

http://108.61.68.243:1935/roku-radio-90 … ylist.m3u8

But the Roku consistently fails to play it. If I specify the Content Type as HLS, then roAudioPlayer generates a mysterious event “-13” which I have no clue what it is (and have posted about before, with no response) and then an “End of Playlist” message and gives up.

If I specify the Content Type as MP3 (which seems wrong, but I thought it was worth a shot) then I get an event type 20 and the player just hangs there.

Help! Please? Any thoughts or ideas would be welcome at this point.

As far as I’m aware, the roAudioPlayer doesn’t support HLS, and the roVideoScreen/roVideoPlayer only supports AAC audio in HLS.

roAudioPlayer is supposed to, in theory, actually support HLS audio, you would set the format to “hls”

print out all the data from you message: msg.gettype() msg.getdata(), msg.getmessage() msg.getindex()

for more clues, use rosystemlog as described in the component reference.

  • Joel

TheEndless was half right, the audio player does support HLS, but HLS is currently supported only with AAC audio. Since your sample has MP3 audio, it won’t play.

–Mark

“RokuMarkn” wrote:
TheEndless was half right, the audio player does support HLS, but HLS is currently supported only with AAC audio. Since your sample has MP3 audio, it won’t play.

–Mark
Hrmm… Then the documentation needs to be updated. It states: “The Audio Player object provides the ability to setup the playing of a series of audio streams. Audio streams may be WMA or MP3 encoded.” No mention of HLS (or AAC, for that matter), but thanks for the clarification.

Argh. Still having real problems with this.

http://108.61.68.243:1935/roku-radio-90 … ylist.m3u8

VLC plays it just fine, and it is now AAC. Or, to be more specific, VLC tells me “MPEG AAC Audio (mp4a)”.

Sending it to the Audio Player with a type of “hls” still results in the mysterious “-13” error. Using a type of “aac” I get an “Unsupported media format.”

From RokuKevin:

You should remove the ID3 tags. We can play HLS audio with AAC transport streams, but those transport streams must have ADTS framing only without ID3 tags.

  • Joel