FOllowing are the code to play the movie, Hope this is useful..
NSURL *fileURL = [NSURL URLWithString:@"
To Make the Video capable of streaming
- Video should be of .mp4 format.
- All videos should be converted using the Miro Video Converter in Mac (Or similar converters) and make it compatible to play in iPhone, iPad and Android devices.
Converted videos will play in mobile devices. However, the video will play only after the full video is downloaded from the server.
- To make the video streaming, the video's metadata has to be moved to the beginning of the video. To achieve this, we have to use a tool called Medadata mover to encode the video.
- Then the final video is compatible of streaming and able to play in all mobile devices.
Then the video have to be FTP'ed to the desired web hosting. for example demo.com/videos/test.mp4.
- Then the video can be configured in iPhone or android app and can be streamed.
See More for Apple Live Streaming
HTTP LIve Streaming