Exemplo n.º 1
0
        public void Record(DepthImageFrame frame)
        {
            if (writer == null)
            {
                throw new Exception("This recorder is stopped");
            }

            if (depthRecorder == null)
            {
                throw new Exception("Depth recording is not actived on this KinectRecorder");
            }

            depthRecorder.Record(frame);
            Flush();
        }