Is there any way to mirror fps content using AVPlayerLayer, currently getting black screen with audio

324 views Asked by At

I am using AVPlayerLayer to play the fps/DRM enabled (FairPlay) protected content video in iOS application. When we are trying to mirror the content to the external screen using airplay or lightning cable it start showing black screen with audio only in external screen and in the iOS device as well. All other components are showing perfectly on external screen and also in iOS device. The same behaviour is observed when trying to mirror using quick time player.

1

There are 1 answers

1
Mick On

There can be some issues with players ignoring what they think are duplicate license requests when mirroring content which will give the symptoms you are seeing - see this Shaka issue:

However, this can also be the desired behaviour indicated by the FairPlay license that is delivered.

You will need to discuss this with your DRM provider - FairPlay licenses can include information telling the device whether it is allowed support AirPlay, HDMI etc for the particular content being played.

These options are usually configured on the DRM provider side, often with different rules for different content categories or even for different individual content titles.