Exemple #1
0
        /// <summary>
        /// Starts streaming RGB data from this camera
        /// </summary>
        public void Start()
        {
            // Update image map before starting
            this.UpdateNextFrameImageMap();

            // Start
            int result = KinectNative.freenect_start_video(this.parentDevice.devicePointer);

            if (result != 0)
            {
                throw new Exception("Could not start video stream. Error Code: " + result);
            }
            this.IsRunning = true;
        }