示例#1
0
        public int RecordPlay(string name, string path, IntPtr hWnd)
        {
            IImageRecorder vs = GetVideoSource(name) as IImageRecorder;

            if (vs != null)
            {
                return(vs.RecordPlay(path, hWnd));
            }
            return(-1);
        }
示例#2
0
        public int Record(string name, string path)
        {
            IImageRecorder vs = GetVideoSource(name) as IImageRecorder;

            if (vs != null)
            {
                return(vs.Record(path));
            }
            return(-1);
        }