Streaming with offset
Streaming with offset
- Subject: Streaming with offset
- From: Leonardo <email@hidden>
- Date: Wed, 01 Dec 2010 17:37:00 +0100
- Thread-topic: Streaming with offset
Hi,
I can quite create a streaming from a QT movie file placed on my server with
mQTMovie = [[QTMovie alloc] initWithURL:mMovieURL error:nil];
It works well.
Now I would like to do the same from a QT movie embedded within a file
placed on my server. Of course I know the offset and the length of the movie
data within the file. How can I launch the streaming?
Could these APIs be useful to my task?
+ (id)movieWithDataReference:(QTDataReference *)dataReference
error:(NSError **)errorPtr
[url setResourceValue:offset forKey:NSFTPPropertyFileOffsetKey error:nil]
The file data is structured this way:
0 General Info (length 26)
26 Metadata (length 13)
39 PageInfo (length 20)
59 MovieData (length 2890)
Regards
-- Leonardo
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden