title: AVPlayer event handling after stall/bufferempty event occured
body: <p>I am using AVPlayer for playing Live video using HLS. I subscribed for all the events and notifications related to AVPlayer, AVPlayerItem.
  Due to network or mediaserver delay, video freezes sometimes. In this case, I get AVPlayerItemPlaybackStalledNotification or playbackBufferEmpty (But these notifications are not very consistent).
  When I get these notifications, I am showing some buffering animations on the screen. But , once the response comes from the server, I am not getting any notification to remove buffering animation.</p>
  
  <p>I subscribed for below notifications
  AVPlayerItemDidPlayToEndTimeNotification
  AVPlayerItemPlaybackStalledNotification
  AVPlayerItemFailedToPlayToEndTimeErrorKey
  AVPlayerItemFailedToPlayToEndTimeNotification
  AVPlayerItemNewAccessLogEntryNotification
  AVPlayerItemNewErrorLogEntryNotification
  AVPlayerItemTimeJumpedNotification
  On AVPlayer: status
  On AVPlayerItem : status, playbackBufferEmpty, playbackBufferFull and playbackLikelyToKeepUp</p>
  
  <ul>
  <li>How to make AVPlayerItemPlaybackStalledNotification or playbackBufferEmpty notifications consistent or what changes can be done server side to map HTTP error codes to AVPlayer events?</li>
  <li>How to get notifications when the server gives response?</li>
  </ul>