The scenario is based on DRM content that needs protection during video playback. Netflix already do this by blocking video playback when the device is USB connected and about to start the Quicktime video recording. How do they do this?
Detect Quicktime screen video recording
First up, I moved your question over to Media > AVFoundation (Video and Camera) because you're more likely to connect up with folks who have experience with this sort of thing over there.
Second, I can't discuss other third-party developer's products specifically, but I will say that this is one of the advertised features of FairPlay Streaming. See WWDC 2015 Session 502 Content Protection for HTTP Live Streaming for details.
Share and Enjoy
—
Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
We are also facing a similar issue, and we understand that using fairplay for HLS is probably the "correct" approach for implementation, but in crunch time we might not have the time/capacity to implement this.
In lieu of that, is it possible to detect screencast without using fairplay?