Airplay 2 Compatible TVs playback failure for long DVR window Live streams

We deliver 24h DVR window live streams to our customers and having issues AirPlaying those streams to all AirPlay 2 Compatible TV

There are 2 cases with different outcomes we found

Case 1.

  1. start watching a LIVE stream with DVR window more than 14 hours on any iOS device from safari or any App with AVPlayer that supports airplaying
  2. Cast to any AirPlay 2 Compatible TV
  3. Observe playback fails with an error

Domain: Other error Comment: No valid variant enabled Status code: 0

Case 2.

  1. start watching a LIVE stream with growing DVR window with initial DVR window less then 13 hours on any iOS device from safari or any App with AVPlayer that supports airplaying
  2. Cast to any AirPlay 2 Compatible TV
  3. Wait until DVR window grows to 14hours+
  4. Observe airplay disconnected on any AirPlay 2 Compatible TV
  5. Observe Safari player saying it is still connected to AirPlay 2 Compatible TV (or crash in case of Mobile app that supports airplaying)

Expected behaviour:

  • Stream continues to play on AirPlay 2 Compatible TV regardless of Live stream DVR Window after casting from iOS device

Additional info:

  • we use 6 second segments for our live streams
  • issue is not present when airplaying to AppleTV

Please let us know how to fix this issue, thanks