HTML5 Audio - How To Play Shoutcast streams

L

lukas

Hello,

I have a problem with the HTML5-Audio-Tag.
While it plays mp3 files without a problem, I cannot get it to play
shoutcast streams.

Consider this URL: http://89.149.227.111:8050

For my VLC-Player this is a music stream. However, for the browser its
a HTML-Page showing some info about the stream.

Does anyone have an idea how to get the audio into the browser?
Perhaps by opening some sort of JavaScript-Stream object?

My aim is to build a streaming html5 audio player without using Flash.

Regards
Lukas.
 
T

Thomas 'PointedEars' Lahn

lukas said:
I have a problem with the HTML5-Audio-Tag.

Probably you mean the `audio' element specified in the current HTML 5
_Working Draft_.
While it plays mp3 files without a problem, I cannot get it to play
shoutcast streams.

Consider this URL: http://89.149.227.111:8050

$ telnet 89.149.227.111 8050
Trying 89.149.227.111...
Connected to 89.149.227.111.
Escape character is '^]'.
HEAD / HTTP/1.0
Connection closed by foreign host.

$ telnet 89.149.227.111 8050
Trying 89.149.227.111...
Connected to 89.149.227.111.
Escape character is '^]'.
HEAD / HTTP/1.1
Connection closed by foreign host.
For my VLC-Player this is a music stream. However, for the browser its
a HTML-Page showing some info about the stream.
Really?

Does anyone have an idea how to get the audio into the browser?

Probably. But this is off-topic here.
Perhaps by opening some sort of JavaScript-Stream object?

Perhaps not.
My aim is to build a streaming html5 audio player without using Flash.

RTFM, STFW.


PointedEars
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top