I'm looking for an example of how to create a circular buffer using MediaCapture to record seconds before a trigger and after, something similar to Raspberry Pi's
picamera.PiCameraCircularIO(camera, seconds=clip_length)
.
I am creating a UWP app, which uses a USB camera and excepts a trigger, but I would like to have the Pre and Post timer around the trigger.