iPhone m3u streaming?
- wbartels
- netjukebox developer
- Posts: 881
- Joined: Thu Nov 04, 2004 3:12 pm
- Location: Netherlands
- Contact:
iPhone m3u streaming?
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
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?
This is great news! Thanks for the links.
Re: iPhone m3u streaming?
SAWEEEEET!
Re: iPhone m3u streaming?
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
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
- wbartels
- netjukebox developer
- Posts: 881
- Joined: Thu Nov 04, 2004 3:12 pm
- Location: Netherlands
- Contact:
Re: iPhone m3u streaming?
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.
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?
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.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.
- wbartels
- netjukebox developer
- Posts: 881
- Joined: Thu Nov 04, 2004 3:12 pm
- Location: Netherlands
- Contact:
Re: iPhone m3u streaming?
Maybe you can try it out with a mp3 file in the m3u playlist.jeremy wrote: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.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.
- wbartels
- netjukebox developer
- Posts: 881
- Joined: Thu Nov 04, 2004 3:12 pm
- Location: Netherlands
- Contact:
Re: iPhone m3u streaming?
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.
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.
- wbartels
- netjukebox developer
- Posts: 881
- Joined: Thu Nov 04, 2004 3:12 pm
- Location: Netherlands
- Contact:
Re: iPhone m3u streaming?
iPad streaming is also working with netjukebox 5.20!
Re: iPhone m3u streaming?
My eyes just exploded. 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
What trickery did you perform to get this working?
Jeremy
- wbartels
- netjukebox developer
- Posts: 881
- Joined: Thu Nov 04, 2004 3:12 pm
- Location: Netherlands
- Contact:
Re: iPhone m3u streaming?
Thanks!, I will make a public beta version.jeremy wrote:My eyes just exploded. 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.
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.
Thanks for the help
Here are some off the tricks:jeremy wrote: What trickery did you perform to get this working?
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?
Replied to you in personal message. Great stuff!
Re: iPhone m3u streaming?
I'm getting an iphone next week and netjukebox works great on the ipad, I hope it works as well on the iphone.
- wbartels
- netjukebox developer
- Posts: 881
- Joined: Thu Nov 04, 2004 3:12 pm
- Location: Netherlands
- Contact:
Re: iPhone m3u streaming?
With the current firmware it should work.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 some older versions of the firmware, somehow only low bitrate streaming did work.