Do I need to make any code level changes to play my videos over HTTP Live Streaming? or is it more a problem with the server, where I need to transcode the video, etc.
We reviewed your application, but I can’t publish this version in the Store application because it does not use the HTTP Live Streaming protocol, which is required to broadcast video streaming over cellular networks for more than ten minutes. We have included the additional information below to help explain the problem and hope you will consider revising and re-adding the application.
This is how I play the video. This simply indicates the CloudFront URL:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
STVideo *mySTVideo;
mySTVideo = [items objectAtIndex:indexPath.row];
moviePlayerViewController = [[MPMoviePlayerViewController alloc] initWithContentURL:[NSURL URLWithString:mySTVideo.video_url]];
moviePlayerViewController.view.backgroundColor = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"st-screen.png"]];
[self presentMoviePlayerViewControllerAnimated:moviePlayerViewController];
[moviePlayerViewController release];
[tableView deselectRowAtIndexPath:indexPath animated:YES];
}