Glitch in AVPlayer while playing HLS videos

We have observed consistent glitches in video playback when using AVPlayer to stream HLS (HTTP Live Streaming) videos on iOS. The issue manifests as intermittent frame drops, stuttering, and playback instability during HLS streams. However, the same behavior is not present when playing MP4 videos using the same AVPlayer instance. The HLS streams being used follow standard encoding practices, and network conditions have been ruled out as a cause for this problem.

https://drive.google.com/file/d/1lhdpHTyjPYCYLHjzvb6ZF6P6jehIuwY0/view?usp=sharing

Steps to Reproduce:

1.	Load an HLS video into AVPlayer and initiate playback.
2.	Observe intermittent glitches and stuttering during video playback.
3.	Load and play an MP4 video in the same AVPlayer instance.
4.	Notice that MP4 playback is smooth without any glitches.

Hello , thank you for your post. I would recommend first validating your playlist using the mediastreamvalidator tool. If fixing validation errors does not resolve the issue, then please use Feedback Assistant to submit a bug report. If possible, please attach a link to your playlist or a sysdiagnose. After you submit a bug report, please post here the FB number for my reference.

Thank you for your replay, before raising a bug,

I have tried these two media streams one with apple demo stream: https://drive.google.com/file/d/1LDwbhl2_Gcl2vqLvCrIjO2fgK-pYBbUh/view?usp=sharing

and an other with our own stream: https://drive.google.com/file/d/1dh7flU9CWiS09jO1IQ1cCjfUImlIQA_R/view?usp=sharing

Seems both have issues but apple stream is playing fine and thats not the case with our stream.

Hi I have raised the issue here: https://feedbackassistant.apple.com/feedback/16055441 seems no one care.

Glitch in AVPlayer while playing HLS videos
 
 
Q