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); }
public int Record(string name, string path) { IImageRecorder vs = GetVideoSource(name) as IImageRecorder; if (vs != null) { return(vs.Record(path)); } return(-1); }