Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
TravelerJim
Visitor

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.
0 Kudos
6 REPLIES 6
TheEndless
Channel Surfer

Re: Audio Streaming Failures

As far as I'm aware, the roAudioPlayer doesn't support HLS, and the roVideoScreen/roVideoPlayer only supports AAC audio in HLS.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
RokuJoel
Binge Watcher

Re: Audio Streaming Failures

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
0 Kudos
RokuMarkn
Visitor

Re: Audio Streaming Failures

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
0 Kudos
TheEndless
Channel Surfer

Re: Audio Streaming Failures

"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.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
TravelerJim
Visitor

Re: Audio Streaming Failures

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."
0 Kudos
RokuJoel
Binge Watcher

Re: Audio Streaming Failures

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
0 Kudos