Avplayer gets stuck automatically

Discussion in 'iOS Development' started by vineeth.thayyil, Jan 23, 2017.

  1. I am using AvplayerController for streaming of videos. I am randomly getting a screen like the one attached. Once I got this issue I need to kill and launch the application again. Only after that the playback will get resume. Any one know why this issue occurs

    Attached Files:

  2. If your network is slow and AVPlayer is not getting enough data into it's buffer, then it stops loading and shows UI that you have mentioned .So try using high speed network. If this is the issue, you can restart the player using the "playback stall notification".
  3. Hi Claire,
    I don't think its an issue with network because once I got this issue the player won't respond ,even if I restarted the playback it won't start playback. Once got this issue we need to we need to relaunch the application .Only after that the playback will get started. I got the same issue on local playback of downloaded contents too

Share This Page