zhangmeng
2019-07-19 9492b3eafc40b6a5ded9ecbd58751c88a86f61d7
capture.go
@@ -39,7 +39,7 @@
   gb := false
   if m == GB28181 {
      gb = true
   } else {
   } else if m != Rtsp {
      return nil, errors.New("there is no this mode, try capture.Rtsp/capture.GB28181")
   }
@@ -106,7 +106,6 @@
         time.Sleep(time.Second)
      }
   }
   gf.Free()
   if tryTime > maxTry {
      err := fmt.Sprintf("try %d times to capture image, is url correct?\n", tryTime)