How can we prevent ios 8 app’s streaming video media from being captured by quicktime player on yosemite during screen recording?



How can we prevent ios 8 app’s streaming video media from being captured by quicktime player o..

Answer / Dinkar Rai

To prevent iOS 8 app's streaming video media from being captured by QuickTime Player, you can implement the AVCaptureVideoDataOutputSampleBufferDelegate method: `- (void)captureOutput:(AVCaptureOutput *)captureOutput didDropSampleBuffer:(CMSampleBufferRef)sampleBuffer fromConnection:(AVCaptureConnection *)connection` and check if the connection is related to QuickTime Player, then discard the sample buffer.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

. List down app's state transitions when it gets launched. 

1 Answers  


What is mvc pattern in ios?

1 Answers  


In iphone development how to import the private key into your keychain?

1 Answers  


What happens when IApplication does not handle an event?

1 Answers  


Name the application thread from where uikit classes should be used?

1 Answers  


Explain parent-child context setup. How does it work? What are the advantages?

0 Answers  


How do I exit safe mode on my iphone?

1 Answers  


Can java run on ios?

1 Answers  


What is urlsession?

1 Answers  


Differentiate 'app id' from 'bundle id'.

1 Answers  


Explain xib?

1 Answers  


What is the first responder and responder chain?

1 Answers  


Categories