Re: Caching Streaming video

2011-06-28 Thread Eric Wing
I am trying to playback video in my iOS app while I am loading and caching it at the same time. I fetch the video using a NSURLConnection and then store it in a local file, I start video playback of the local video file after a certain number of bytes are received. I have it working great in

Re: Caching Streaming video

2011-06-27 Thread Nathan Day
OK here is a more detailed explanation of what I am doing I start downloading the video file with a NSURLConnection I then implement the received data delegate method like the following. - (void)connection:(NSURLConnection *)aConnection didReceiveData:(NSData *)aData { bytesFetched +=

Caching Streaming video

2011-06-26 Thread Nathan Day
I am trying to playback video in my iOS app while I am loading and caching it at the same time. I fetch the video using a NSURLConnection and then store it in a local file, I start video playback of the local video file after a certain number of bytes are received. I have it working great in