Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Quicktime Movie streaming
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Quicktime Movie streaming



Hello All,

Currently i am working on application which has sharing feature similar to itunes.
I have a problem here related to streaming of movies.

I have done some investigation on this and found that 
we can stream movies located in "sites" folder  by NewMovieFromDataRef api.
Code for this is given below : 

Movie  NewMovieFromURL (char *theURL)
{
Movie myMovie = NULL;
Handle myHandle = NULL;
Size mySize = 0;



mySize = (Size)strlen(theURL) + 1;


myHandle = NewHandleClear(mySize);

  


BlockMove(theURL, *myHandle, mySize);




OSErr error = NewMovieFromDataRef(&myMovie, newMovieActive  , NULL, myHandle, URLDataHandlerSubType);


if (myHandle != NULL)
DisposeHandle(myHandle);


return(myMovie);
}

Here URL that we give for movies in site folder is  http://10.10.31.10/~username/Movie_name

In my app i need to stream a movie from folder which is other than "SItes".

Please let me know i f there is any way for doing this ?

Thanks in Advance,
Srinivas.



-----------------------------------------------
Robosoft Technologies - Come home to Technology

Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus.
 _______________________________________________
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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.