Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Viewer using buffer like youtube videos

Developers may discuss here
Post Reply
JnZn558
8
8
Posts: 13
Joined: 2011-01-24 08:49

Viewer using buffer like youtube videos

Post by JnZn558 »

does the cache encoding using a buffer like youtube videos? I had a test on vmware with resolution 3840 x 3072, on the viewe site it updates stepwise downto bottom. could it be possible to delay the updates and show the new updates at once? I mean remove this stepwise method? could directx realise this?
C/C++, Assembler, Delphi, .Net, Java, PHP
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6838
Joined: 2004-04-23 10:21
Contact:

Re: Viewer using buffer like youtube videos

Post by Rudi De Vos »

cache encoding= save under ( some simple protocol that was used in X)
save (120,120,200,200)
update rect (120,120,200,200)

if same rectangle is used ( maximize,minimize,maximize)
server check if it exist in cache and send the message to the viewer
update (120,120,200,200) from cache.

only 1 level deep, just keep the last rectangle.

Are you using latest viewer ?
With or without directx [v] all changes are only update after a cycle.
bitmap is updated for each rectangle
rectangles are added to the region
at the end invalidateregion is called
this send the wm_paint

If you move a window, the OS also send a wm_paint
(refresh window)
If you move the viewer window you still see the updates per rectangle.
Post Reply