• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
QTKit and audio streaming
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Application Hang (Cocoa-Java)
  • Next by Date: Re: QTKit and audio streaming
  • Previous by thread: Re: From Panther to Tiger
  • Next by thread: Re: QTKit and audio streaming
  • Index(es):
    • Date
    • Thread