Exemple #1
0
 static void Open(WebCam webCan)
 {
     webCan.Start();
     //MJPEGStream mjpegSource = new MJPEGStream();
     //mjpegSource.VideoSource = CameraIp;
     //OpenVideoSource(mjpegSource);
 }
Exemple #2
0
 public static void OnOpsCamera(object obj, bool isChecked, WebCam webCan)
 {
     if (isChecked)
     {
         Open(webCan);
     }
     else
     {
         Stop(webCan);
     }
 }
Exemple #3
0
 static void Stop(WebCam webCan)
 {
     webCan.Stop();
 }