public bool TryGetFrame(out VideoFrame frame) { return(buffer.TryDequeue(out frame)); }
static void flow_GotNewData(VideoFrame obj) { Console.WriteLine("Got frame " + obj.FrameNumber); }