Hello,
I'm trying to play a m3u8 file with the following code:
Code:
NSString *urlVideo = @"MY VIDEO.M3U8";
NSURL *videoURL = [NSURL URLWithString:urlVideo];
MPMoviePlayerViewController *moviePlayerView = [[[MPMoviePlayerViewController alloc] initWithContentURL:videoURL] autorelease];
[self presentMoviePlayerViewControllerAnimated:moviePlayerView];
It loads correctly but the audio just work in the simulator and not in the device. I'm using Xcode 4.2 with iOS 5.
What I'm doing wrong?