QTKit and audio streaming
QTKit and audio streaming
- Subject: QTKit and audio streaming
- From: Pascal Vantrepote <email@hidden>
- Date: Sun, 15 May 2005 19:27:12 -0400
Hi,
I'm trying to play mp3 streaming using QTKit.
It's working, but only 10 seconds.
This my sample code.
NSURL* url = [[NSURL alloc] initFileURLWithPath:@"listen.pls"];
NSMovie current = [[NSMovie alloc] initWithURL:url byReference:NO];
if (current) {
NSError* qtError;
QTMovie movie = [[QTMovie alloc] initWithQuickTimeMovie:[current
QTMovie] disposeWhenDone:NO error:&qtError];
if (movie != nil) {
[movie play];
}
}
I have tried with NSSound, it doesn't do anything. If someone have idea.
Thanks for your help.
Pascal.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden