Menu

#9 Libvncclient sends continuous update requests

v1.0_(example)
closed
nobody
None
5
2014-03-30
2013-08-21
No

I'm doing some benchmarking of VNC using libvncclient, it's working fine so far.
But I noticed that SendIncrementalFramebufferUpdateRequest() is always called after processing incoming server messages in HandleRFBServerMessage in libvncclient/rfbproto.c leading to a continuous set of updates being sent from the server even though no requests are scheduling using the libvncclient API.

I'm surprised the call is present as it precludes the possibility of a real client-chosen update request rate, especially a rate lower than scheduling a request immediately after receiving an update. When using the libvncclient API calls to send an update request to the server in the current situation this leads to an unexpectedly higher number of updates.

I can obviously comment out the call to SendIncrementalFramebufferUpdateRequest to get a real client-driven (at the API level) request rate. Just wondering if there is a good reason that call is there?

Discussion

  • Johannes Schindelin

    It is better to discuss this on the mailing list because neither Christian nor me have enough time to adress support requests, unfortunately... Sorry!

     
  • Paul E.C. Melis

    Paul E.C. Melis - 2013-09-06

    Sorry, I took the path of the least sourceforge resistance, as I didn't want to have to subscribe to yet another mailing list just for a single question. So it's not really a support request. I'll put it on the ML

     
  • Johannes Schindelin

    • status: open --> closed
     
  • Johannes Schindelin

    Closing this, as the OP agreed to move the discussion to the mailing list.