I'm trying to stream audio from the web with QTKit. I used this code:
movie = [[QTMovie alloc]
initWithURL:[NSURL URLWithString:@"http://vipicecast.yacast.net:80/vra_webradio07"]
error:&error];
[[NSNotificationCenter defaultCenter]
addObserver:self
selector:@selector(movieStateDidChange:)
name:QTMovieLoadStateDidChangeNotification object:movie];
I keep getting a QTMovieLoadStateError. When the attribute QTMovieOpenForPlayback is set to YES, everything works fine. But as I need to get the audio metadata, I have to use QuickTime API, which is not compatible with QTMovieOpenForPlayback. Also, it works when streaming from a PLS file, but unfortunately, I need to stream the audio direct from the URL. How may I solve that?
Thanks in advanced.