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)