4 Replies
      Latest reply on Jun 9, 2019 6:52 PM by perry725
      donuts Level 1 Level 1 (0 points)



        I have a playlist of a radio station, specifically http://audio.glgltz.co.il/glgltz-a-zixief/glgltz-a-zixief.m3u8

        If you put that URL in Safari you'll quickly find out it simply unavailable, doesn't work.


        However when I am loading that into AVPlayer and by observing, I get Rate == 1.0 on notification "AVPlayerPlaybackViewControllerRateObservationContext", and loaded duration of zero. Which means if I am not mistaken "buffering".


        Also the avplayer.status is AVPlayerStatusReadyToPlay rather than AVPlayerStatusFailed


        Seems native question, but how do I know with AVPlayer that the URL is unavailable? should I be observing something else?