diff --git a/platforms/dji/tello/driver.go b/platforms/dji/tello/driver.go index 6fbb30dcd..b391700aa 100644 --- a/platforms/dji/tello/driver.go +++ b/platforms/dji/tello/driver.go @@ -817,11 +817,12 @@ func (d *Driver) processVideo() error { for { buf := make([]byte, 2048) n, _, err := d.videoConn.ReadFromUDP(buf) - d.Publish(d.Event(VideoFrameEvent), buf[2:n]) - if err != nil { fmt.Println("Error: ", err) + continue } + + d.Publish(d.Event(VideoFrameEvent), buf[2:n]) } }()