Created
August 1, 2012 09:49
-
-
Save mikehadlow/3225510 to your computer and use it in GitHub Desktop.
Attempting to capture iSight camera output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// from the QTRecorder sample application in the MonoMac source | |
// In QTRDocument contructor .... | |
// ---- Add image capture output | |
var decompressedVideoOuput = new QTCaptureDecompressedVideoOutput(); | |
NSError error2; | |
decompressedVideoOuput.DidOutputVideoFrame += (sender, e) => | |
{ | |
// var frame = e.SampleBuffer; | |
}; | |
// decompressedVideoOuput.Delegate | |
session.AddOutput(decompressedVideoOuput, out error2); | |
// ----- End add image capture output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment