Hi, I'm currently writing a screen capture program that uses rfb as the core recording protocol (something like vncrec or rfbproxy, but a bit more advanced). After recording the session, the recorded file is postprocessed to a suitable format for video-editing. Everything works fine, but I have a small question regarding the mouse cursor. In the fist recording session (currently, just raw encoding), I filter out the necessary server messages and discard the other ones. For now, just the initial handshake and the framebufferupdate messages are recorded. My problem is that, when using a local cursor, the server doesn't send me the cursor position, so there's no way (except using a remote cursor) I can embed a (dummy) mouse cursor in the resulting movie. I know that remote cursors are a solution, but when used over a slow link, it isn't ideal. Is there some way or setting that the server just tells me the current mouse position (two int's) in a rectangle (like the PointerPosition message, except, the server doesn't seem to send it constantly), or maybe a way to record the position of the mouse cursor at client side when sending the pointerEvent? I thought about this last option, but I figured there is no way to calculate the round trip delay of the message to know what update matches with what saved position.
Any help is welcome. Bram _______________________________________________ VNC-List mailing list [email protected] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
