Search code examples
iosswiftcordovacordova-pluginsdrm

how to prevent mirroring of ios app in iphone via quicktime player in Phonegap or Cordova


I am making an app in which video is streamed online via MarlinDRM . Is there a plugin or swift or objective c code to prevent screen mirroring / getting an event / blacking out the video via quicktime player and camtasia.

Netflix is avoiding screen mirroring in quicktime player and camtasia.

I have found a plugin cordova plugin presentation which replaces external screen with other web pages when iPhone is connected to mac via airplay.

I am searching for similar plugin which works for quicktime player (wired connection).


Solution

  • It's an operating system feature so you cannot disable it programmatically within your app.

    Update:

    Netflix streams are not mirrored because they are encrypted live streams. Those media will not be mirrored in general.