Re: NSMovieView: RTSP streams won't buffer?
Re: NSMovieView: RTSP streams won't buffer?
- Subject: Re: NSMovieView: RTSP streams won't buffer?
- From: Jim Correia <email@hidden>
- Date: Sat, 27 Jul 2002 19:16:11 -0400
On Saturday, July 27, 2002, at 06:40 PM, Martin-Luc Girard wrote:
What happens is this: I click the start button in the movie's
controller, and buffering will take place only as long as I hold
the button down. if I let go, the download stops and the movie
doesn't play. If I hold it for the entire buffering process, then
the stream plays.
The same thing occurs if I would place [myMovieView
start:self] ; in an IBAction associated with a button.
On the other hand, if the previous line is _in_ the awakeFromNib
code, the app bounces in the dock while the stream buffers, and
then everything plays fine...
NSMovieView has a couple of serious bugs (which are on my list of
things to report. This one is less serious since it simply doesn't
play, but doesn't otherwise cause bad things to happen...
Anyway, it appears that the movie view isn't getting enough time to
do its work, so you'll have to drop down to QuickTime level and
give it some. I schedule a timer and...
- (void)movieTimer:(NSTimer *)timer
{
MovieController controller = (MovieController)[myMovieView
movieController];
// REVIEW and report bug
//
// when playing streaming audio it appears AppKit doesn't ping
// the movie controller with idle time during the negotiate phase
// so it doesn't ever finish unless you keep clicking on it
MCDoAction(controller, mcActionIdle, NULL);
}
Now that you've reminded me of the bug, I'll report it :-)
You might want to do the same.
Jim
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.