示例#1
0
        // Add new camera to the collection and run it
        public bool Add(Camera camera)
        {
            // create video source
            if (camera.CreateVideoSource())
            {
                // add to the pool
                InnerList.Add(camera);

                camera.Start();
                return true;
            }
            return false;
        }
示例#2
0
        // Add new camera to the collection and run it
        public bool Add(Camera camera)
        {
            // create video source
            if (camera.CreateVideoSource())
            {
                // add to the pool
                InnerList.Add(camera);

                camera.Start();
                return(true);
            }
            return(false);
        }