iOS SDK, Airplay support


We are using the Kaltura iOS SDK in one of our apps. We see that the player comes with airplay mirroring support. When a video is played using Airplay mirroring to an apple tv, the video goes fullscreen in the apple tv, even though the video in the app is not fullscreen.

We would prefer to mirror the app 1:1, exactly as it appears in the device, but the video goes full screen.

We understand that normally this is considered a desirable feature, but it doesn’t work in our specific case.

Is it possible to override this behaviour?

we attached this support to play Video on apple tv, not for mirroring and used default Apple’s implementation.
There is a bottom drawer on iPhone device that enabled the mirroring option.