Is getting all the frames because conn.recv() is a blocking call, so is waiting 
for you to request a frame. 
You can change that line by:
if conn.poll()
  rec_dat = conn.recv()

```
        while run:
            #grab frames from the buffer
            cap.grab()

            #receive input data

           if conn.poll():
               rec_dat = conn.recv()
```





---
[Visit 
Topic](https://discuss.mxnet.apache.org/t/object-detection-reading-from-rtsp-stream-with-no-buffer/6591/5)
 or reply to this email to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.mxnet.apache.org/email/unsubscribe/6514dd1a8697cd23a0b9b9db494677f1eca5c08ebac489f8d0261e6b18c3438f).

Reply via email to