AVPlayer take too long time for readyToPlay a video

AVPlayer take too long time to change status to AVPlayerStatusReadyToPlay

==========================================================


AVURLAsset *asset = [AVURLAsset assetWithURL:videoURL];

AVPlayerItem *item = [AVPlayerItem playerItemWithAsset: asset];

AVPlayer *player = [[AVPlayer alloc] initWithPlayerItem:self.currentItem];

if ([player respondsToSelector:@selector(automaticallyWaitsToMinimizeStalling)])

player.automaticallyWaitsToMinimizeStalling = NO;


if ([player respondsToSelector:@selector(playImmediatelyAtRate:)])

[player playImmediatelyAtRate:1.0];

else [player play];

Hello,


Did you get any solution to this problem. I'm seeing the same issue at my end. Tried with streaming url's hosted at multiple places but still the same result. Do let me know if you got any insights as to how to start the video quickly.


Thanks

I am stucking with same problem. Did you guys get any solution? I am using AVQueuePlayer to play remote audio. Player take long time to readyToPlay. After player is ready to play it immediate play the song.

Any help would be appreciated.

Thank You!
AVPlayer take too long time for readyToPlay a video
 
 
Q