How Can We Help?
when I create a bitmap from the OnFrameBitmap event, an error occurs after a few seconds
At 30 fps the bitmaps are created too quickly, the garbage collector does have the time to free them fast enough.
Invoke GC.Collect(); in this event to immediately free all the previous bitmaps allocated.