Skip to content

Instantly share code, notes, and snippets.

@mikehadlow
Created August 1, 2012 09:49
Show Gist options
  • Save mikehadlow/3225510 to your computer and use it in GitHub Desktop.
Save mikehadlow/3225510 to your computer and use it in GitHub Desktop.
Attempting to capture iSight camera output
// 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