Hi all,

I'm developing a little music player. It works fine with file but it doesn't work with audio streaming.

my code is:

NSURL* theFilePath = [[NSURL alloc] initWithString:[[theTable objectAtIndex:sx] objectForKey:@"Location"]];
        NSLog(@"the file path %@", theFilePath);
        movie = [[QTMovie movieWithURL:theFilePath error:&qtError] retain];

as you can see from log below it wants to open the stream as a file:

2009-09-10 10:47:04.221 Primafila[511:10b] the file path 
http://cast.voxcdn.net:8000/2917-MP3-RadioIO-Smooth-Jazz-128
2009-09-10 10:47:04.284 Primafila[511:10b] Can not open file 
:http://cast.voxcdn.net:8000/2917-MP3-RadioIO-Smooth-Jazz-128
2009-09-10 10:47:04.285 Primafila[511:10b] Could not open file handle for file:http://cast.voxcdn.net:8000/2917-MP3-RadioIO-Smooth-Jazz-128
2009-09-10 10:47:04.286 Primafila[511:10b] Can not open file 
:http://cast.voxcdn.net:8000/2917-MP3-RadioIO-Smooth-Jazz-128

How can I make it works?

Thanks for help.

Max



_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to