4

I know this question is already asked in past, but i finally found no answer....

So I got a shoutcast stream, encoding audio/mpeg and I want create a web-app for my iphone to listen to my stream mobile.

I tried several methods of http://mydomain.com:8000/. With semicolon, with stream.nsv, with stream.nsv&type=mp3 and so on...

I tested it everytime with the Safari browser und nothing happened. I tried several options in the html5 audio tag. preload, auto-buffering etc..... it's still quiet...

Do you have any solutions or snippets or what else?

Thank you :)

Matthias Stähle
  • 87
  • 1
  • 3
  • 11
  • i think you have to debug the code coz there may be other things that might be causing the problems. Posting snippets may not always help but try to debug your code first – Robin Jan 12 '11 at 09:47
  • what version of Shoutcast as they have changed if you use v2 then there is a new way to do it, and it only works for mp3 – RussellHarrower Apr 03 '12 at 05:44

4 Answers4

1

HTML5 streaming web pp for iPhone.

<audio controls="> 
 <source src="http://www.yourstreaming.com" type="audio/ogg" />
 <source src="http://www.yourstreaming.com" type="audio/mpeg" />
</audio>
Bo Persson
  • 90,663
  • 31
  • 146
  • 203
Landi
  • 11
  • 1
1

Try jPlayer I'm pretty sure it can play shoutcast stream, and it works in iPhone. The player uses HTML5, and supports flash fallback.

Gokulnath
  • 1,166
  • 15
  • 29
0

I would suggest Mediaelement . Its works well on most of mobile devices including iPhone.

Shiv
  • 1,269
  • 11
  • 20
0

you very welcome,sorry i don't know the source for Android,here are links that might help you,good luck with it. http://dev.opera.com/articles/view/everything-you-need-to-know-about-html5-video-and-audio/

Landi
  • 1