Hi all, I have an OAK PoE camera and I want to measure how much network bandwidth it uses with different settings (e.g. resolution, fps etc).
I have been using the rgb_preview.py
script from the depthai python repo, with the only addition of one line to change the frame rate and changing the preview size
camRgb.setPreviewSize(1920, 1080)
camRgb.setFps(30)
To measure the bandwidth I used this simple script that uses psutil
and measures the difference in bytes received to calculate the download speed.
My question is, with the above code and a frame rate of 30fps the download speed is about 50Mb/s. If I decrease the frame rate the download speed also decreases, but if I increase the 60fps the speed stays at 50Mb/s. I would expect the usage to increase since the frame rate doubles but this is not what is measured.
Is this the correct way to measure bandwidth usage for a PoE camera?