Page 1 of 1

iPhone m3u streaming?

Posted: Sun May 24, 2009 5:12 pm
by wbartels
Apple is working on an extended m3u/m3u8 playlist.
If this will be implemented in the next iPhone than netjukebox and other streaming servers like shoutcast can be used from an iPhone.

http://en.wikipedia.org/wiki/HTTP_Live_Streaming
http://developer.apple.com/iphone/libra ... ction.html
http://www.readwriteweb.com/archives/ap ... o_ietf.php


Update: links updated

Re: iPhone m3u streaming?

Posted: Mon Jun 15, 2009 11:12 pm
by jeremy
This is great news! Thanks for the links.

Re: iPhone m3u streaming?

Posted: Mon Sep 21, 2009 10:58 am
by Shizzle
SAWEEEEET!

Re: iPhone m3u streaming?

Posted: Tue Dec 22, 2009 10:04 pm
by jeremy
Willem, have you looked at this recently? I don't know if it was added in the 3.0 update, but the iPhone now appears to recognize M3U files in Safari. It will launch a player if you click a directly linked file. However, I assume since Netjukebox uses special code to create & send the M3U file to the user when we click on the stream icon, Netjukebox is incompatible. I'd LOVE to see this added, and I'm curious what your thoughts are.

I should note that I'm a few versions behind in updating, so if something's been added recently to add support then forgive me.

Jeremy

Re: iPhone m3u streaming?

Posted: Tue Dec 22, 2009 10:33 pm
by wbartels
Hello Jeremy,

I don’t have an iPhone to test it out.
Maybe you can help me out by giving me some (or better more) websites where the iPhone can stream from.

Re: iPhone m3u streaming?

Posted: Tue Dec 22, 2009 11:43 pm
by jeremy
wbartels wrote:Hello Jeremy,

I don’t have an iPhone to test it out.
Maybe you can help me out by giving me some (or better more) websites where the iPhone can stream from.
Hmm.... looks like it may be a bust. I can't get it to work at all, even with custom playlist (M3U) linked directly to files on my own web server. The player always complains that it can't play the "movie," so maybe Apple has only included support for MOVs or something like that. Oh well. Thanks for the quick reply.

Re: iPhone m3u streaming?

Posted: Wed Dec 23, 2009 12:06 am
by wbartels
jeremy wrote:
wbartels wrote:Hello Jeremy,

I don’t have an iPhone to test it out.
Maybe you can help me out by giving me some (or better more) websites where the iPhone can stream from.
Hmm.... looks like it may be a bust. I can't get it to work at all, even with custom playlist (M3U) linked directly to files on my own web server. The player always complains that it can't play the "movie," so maybe Apple has only included support for MOVs or something like that. Oh well. Thanks for the quick reply.
Maybe you can try it out with a mp3 file in the m3u playlist.

Re: iPhone m3u streaming?

Posted: Wed Apr 21, 2010 10:50 am
by wbartels
The apple CoreMedia player is very picky with the stream implementation.
For example it won't start streaming if the playlist isn't seekable.
(for a static playlist there is absolutely no need to use seek commands)

But with hard work I have basic streaming working on an iPhone.
If the next tests work out positive than the upcoming netjukebox release will have iPod, iPhone & iPad streaming support without the need to install a dedicate application.

Re: iPhone m3u streaming?

Posted: Sat May 01, 2010 11:09 am
by wbartels
iPad streaming is also working with netjukebox 5.20!

Image
Image

Re: iPhone m3u streaming?

Posted: Mon May 03, 2010 7:26 pm
by jeremy
My eyes just exploded. :shock: I didn't catch these last two posts until this morning, and it is the best start to a Monday I can imagine. Thank you! Let me know if you need a beta tester, as I have both iPhone and iPad devices. I've been on the verge of installing server/client software to stream my music, and now I'm glad I waited.

What trickery did you perform to get this working?

Jeremy

Re: iPhone m3u streaming?

Posted: Mon May 03, 2010 10:23 pm
by wbartels
jeremy wrote:My eyes just exploded. :shock: I didn't catch these last two posts until this morning, and it is the best start to a Monday I can imagine. Thank you! Let me know if you need a beta tester, as I have both iPhone and iPad devices. I've been on the verge of installing server/client software to stream my music, and now I'm glad I waited.
Thanks!, I will make a public beta version.
The file is available from: netjukebox_5.20beta1.zip
When the final version is available I will delete the beta version.

Jeremy or other testers please try out streaming with different settings, for example:
  • Stream with mp3 @ Low profile from a FLAC file (real time transcoding)
  • And the same profile after the file has been downloaded (stream from cache)
  • Stream from from an mp3 file with the source profile (stream form source)
  • All the above can be done from WiFi or from a cellular network.
I'm very interested in the results!
Thanks for the help :)

jeremy wrote: What trickery did you perform to get this working?
Here are some off the tricks:

For the m3u playlist, netjukebox creates a temporary m3u file in a sub-directory and redirect to that m3u file.
This is needed because the iPhone, iPad & iPod will test with the range header if it is coming from a web-server.

With the new stream.inc.php script netjukebox response the same way as a web-server including: Range, ETag/If-Not-Match, etc...
For real time streaming it fakes the Content-Lengt header based on the bitrate with some overhead.

If you are interested take a look at the stream.php and include/stream.inc.php scripts.

Re: iPhone m3u streaming?

Posted: Tue May 04, 2010 8:10 am
by jeremy
Replied to you in personal message. Great stuff!

Re: iPhone m3u streaming?

Posted: Thu Nov 18, 2010 1:23 pm
by JoelMoors
I'm getting an iphone next week and netjukebox works great on the ipad, I hope it works as well on the iphone.

Re: iPhone m3u streaming?

Posted: Sun Dec 05, 2010 10:30 pm
by wbartels
JoelMoors wrote:I'm getting an iphone next week and netjukebox works great on the ipad, I hope it works as well on the iphone.
With the current firmware it should work.
With some older versions of the firmware, somehow only low bitrate streaming did work.