mirror of https://bitbucket.org/ausocean/av.git
Fixed bug!
This commit is contained in:
parent
6434d3c0f7
commit
7f15e2e6d2
|
@ -207,7 +207,7 @@ func (r *revidInst) Start() {
|
|||
h264Data = make([]byte, 1)
|
||||
_, err := io.ReadFull(inputReader, h264Data)
|
||||
if err != nil {
|
||||
if err.Error() == "EOF" {
|
||||
if err.Error() == "EOF" && r.isRunning {
|
||||
r.ErrOut("No data from camera!")
|
||||
time.Sleep(5*time.Second)
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue