I am not sure, but I believe you can use [QTMovie movieWithURL:url error:err]
to stream a movie from a URL, then pass it to a QTMovieView object. QuickTime treats audio like movies, so it may work. Or it may try to load the entire file.
views:
292answers:
3
+1
A:
Closer, but we need an extra-lightweight client (let's imagine if a person listens to an audio-book). So downloading of the entire audio file is not a case.Any ideas about server-side support are highly appreciated. Mac OS X Server looks promising, but it's quite expensive. We must be sure it allows to stream pure audio files.Thank you very much.
Stream
2009-05-21 08:59:51
Check out http://developer.apple.com/opensource/server/streaming/index.html. It's free and I think you can get it to work under Linux.
2009-05-21 18:56:01
Yes, we've selected exactly this server solution to stream music tracks. Most likely there is no way to stream and seek audio without wrapping it into hinted movies.
Stream
2009-05-22 10:51:55
Sure I did :) And it seems that this method requires back-end support by the hint tracks from the server side. But as I mentioned in the question, we have about 1 TB (!) of content. It's just impossible to handle every one track to wrap in into .MOV-file. Or did I miss something? We need kind of ‘pure’ audio streaming. Thank you.
Stream
2009-05-21 08:52:16
Thanks for such a useful solution. Unfortunately, it looks like there is no ability to stream MP3 files without decompressing them into video format before. In this case, we still need to convert all content before streaming.
Stream
2009-05-21 16:12:00