Thread-topic: QT streaming with initWithAttributes
User-agent: Microsoft-Entourage/12.23.0.091001
Hi,
I successfully create a QT streaming using initWithAttributes. The movie
data is embedded within a "local" file, so I define (on the attributes) the
offset and the length of the movie data within this file. Everything works
well. But I can't get this to work when the file is over the internet. I
always get the error: "Not enough movie data is available."
Any idea? I build with sdk 10.5 with Xcode 3.2.3.
My code:
fileURL = [NSURL URLWithString:@"http://www.mysite.com/file.mox"];
mStreamingDict = [NSDictionary dictionaryWithObjectsAndKeys:
fileURL, @"QTMovieURLAttribute",
yesNum, @"QTMovieOpenAsyncOKAttribute",
offsetNum, @"QTMovieFileOffsetAttribute",
lengthNum, @"QTMovieDataSizeAttribute", nil];
mQTMovie = [[QTMovie alloc] initWithAttributes:
mStreamingDict error:&error];
Regards
-- Leonardo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden