i am currently showing video by LL-HLS using AVPlayer and AVPictureInPictureController.
Video seems to play just fine when using only AVPlayer
But whenever the app turns in to PictureInPicture mode it player crashes or stops with emitting below errors.
servers m3u8 file contains rendition-report tag and discontinuity tags.
Logs about ECN doesnt seem to be critical because other example m3u8 playlist for samples works just fine.
the difference with my server and example m3u8 is that, mine supports multi resolution for various bandwith(ABR).
======================================================
errorDate Optional(2023-07-08 14:07:42 +0000)
errorStatusCode -15410
errorDomain CoreMediaErrorDomain
errorComment Optional("Server should support ECN for Low Latency")
======================================================
======================================================
errorDate Optional(2023-07-08 14:07:47 +0000)
errorStatusCode -15418
errorDomain CoreMediaErrorDomain
errorComment Optional("Dropping out of Low Latency: missing Rendition Report")
======================================================
======================================================
errorDate Optional(2023-07-08 14:07:52 +0000)
errorStatusCode -12642
errorDomain CoreMediaErrorDomain
errorComment Optional("#EXT-X-DISCONTINUITY-SEQUENCE is no longer in Media Playlist")
======================================================
======================================================
errorDate Optional(2023-07-08 14:07:52 +0000)
errorStatusCode -12642
errorDomain CoreMediaErrorDomain
errorComment Optional("Playlist parse error")