Hi all,
I'm trying to retrieve images from a network camera to display them on a window. I'm sending requests every 50 milliseconds, but I only get 1 FPS or so. The problem seems to be on the Qt side, since 'get' requests are actually sent at that rate (according to signal requestStarted()). Sample output:
Request 1 started (host setup)
Request 1 finished
Request ignored (no image)
Petitioning with id: 2
Request 2 started
Petitioning with id: 3
Petitioning with id: 4
Petitioning with id: 5
Request 2 finished
Reading new frame... (2)
Updating frame on window...
Request 3 started
Request 3 finished, error? 0
Reading new frame... (3)
Updating frame on window...
Request 4 started
Request 4 finished, error? 0
Reading new frame... (4)
Updating frame on window...
Request 5 started
Request 5 finished, error? 0
Reading new frame... (5)
Updating frame on window...
Is this behaviour expected for QHttp? I don't see anything in the documentation saying so, but I'm rather new to Qt. Any ideas?
Thanks!
Bookmarks