Sometimes stream via AVPlayer plays Audio but Video is just grey

In our app, we're streaming short HLS streams to local AVPlayers.
In the view we have an AVPlayerLayer which is connected to the AVPlayer we start, and usually we hear audio and see the video.

Sometimes, instead of video, we'll see a grey screen, while still being able to hear the audio.

The playerlayer will be a shade of grey, which is not a shade coming from our app. Also if for testing purposes we don't connect the player to the PlayerLayer, this grey color will not be there, so it's definitely coming from the AVPlayerLayer.


If this is somehow related to an HLSStream becoming corrupted or something, what are the API's in AVFoundation we could use to debug this?
So far, when this happens we see no peculiar catch blocks or errors being thrown in our debug logs.