I am using MPMoviePlayerController
for playing HLS
i.e video streaming
it works fine on good and average network (WIFI,3G)
but not working properly on slow network (2G)
. Below is the piece of code for the same.
Also on slow network seekbar is causing an issue, it moves upwards and player shows blank screen.
MPMoviePlayerController *player = [[MPMoviePlayerController alloc] init];
player.allowsAirPlay = YES;
[self.view addSubview:player.view];
player.view.frame = CGRectMake(5.0, 64.0, [[UIScreen mainScreen] bounds].size.width - 10.0, viwVideo.frame.size.height - 10.0);
player.controlStyle = MPMovieControlStyleDefault;
player.movieSourceType = MPMovieSourceTypeFile;
[player setContentURL:[NSURL URLWithString:@"http://techxvweb.fr/html5/AppleOutput/2012-03-10-j23-dax-smr-mt1-m3u8-aapl.ism/manifest(format=m3u8-aapl)
"]];
[player play];