public void RecordFrame(BodyFrame frame) { if (!_isStarted) throw new InvalidOperationException("Cannot record frames unless the KinectRecorder is started."); if (frame != null) { var replayFrame = new RPBodyFrame(frame); if (MapDepthPositions) { replayFrame.MapDepthPositions(); } if (MapColorPositions) { replayFrame.MapColorPositions(); } // _recordQueue.Enqueue(replayFrame); System.Diagnostics.Debug.WriteLine("+++ Enqueued Body Frame ({0})", _recordQueue.Count); } else { System.Diagnostics.Debug.WriteLine("!!! FRAME SKIPPED (Body in KinectRecorder)"); } }
internal System.Threading.Tasks.Task RecordAsync(RPBodyFrame rPBodyFrame) { throw new NotImplementedException(); }