A few things I need
A few things I need
i doing a remote computer program so i can get to my computer when im not there.
and i wondering how i would do some of the things like
right now i just know how to know the sever side (computer being controled)
how would you capture the mouse so it can be moved and click from the client
same for the keyboard
i thinking about sound (low priority)
video i remeber that there was a source some were were it would capture screens
and i need opinion on this, would it be faster (overall) to pack one loop with all the keyboard mouse video and sound data into pack memory then send it over the line or would it be faster to send it raw becasue the packer is kinda slow compressing even at lowend compression
and i wondering how i would do some of the things like
right now i just know how to know the sever side (computer being controled)
how would you capture the mouse so it can be moved and click from the client
same for the keyboard
i thinking about sound (low priority)
video i remeber that there was a source some were were it would capture screens
and i need opinion on this, would it be faster (overall) to pack one loop with all the keyboard mouse video and sound data into pack memory then send it over the line or would it be faster to send it raw becasue the packer is kinda slow compressing even at lowend compression
~Dreglor
because vnc is no fun? 
hey, i'm game for an application like this! willing to share the code?
hey, i'm game for an application like this! willing to share the code?
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
-
freedimension
- Enthusiast

- Posts: 613
- Joined: Tue May 06, 2003 2:50 pm
- Location: Germany
- Contact:
Some thoughts about compression:
I think you should write some kind of Alpha-Compression, so that you don't have to send all data each loop, but only the data that has effectively changed. That would bring two advantages:
a) your refresh rate is lower and adapts to the changes on the screen automatically (i.e. if you watch a movie it will get laggy, but for office work it will just do fine)
b) your traffic is lower
You could reduce the number of colors used (i.e. use 16bit color depth)
Also you could catch all redraw events/messages windows is sending. Then only update the region indicated (that is especially good for the performance on the "server")
Combine all of the above, think something up.
If you succeed, I would be interested in the result as my experience is of theoretical nature only
I think you should write some kind of Alpha-Compression, so that you don't have to send all data each loop, but only the data that has effectively changed. That would bring two advantages:
a) your refresh rate is lower and adapts to the changes on the screen automatically (i.e. if you watch a movie it will get laggy, but for office work it will just do fine)
b) your traffic is lower
You could reduce the number of colors used (i.e. use 16bit color depth)
Also you could catch all redraw events/messages windows is sending. Then only update the region indicated (that is especially good for the performance on the "server")
Combine all of the above, think something up.
If you succeed, I would be interested in the result as my experience is of theoretical nature only
<°)))o><²³
u think i've figured out some of the problems, my major challenge was twofold:
1. is there a way to read the screen directly from memory, instead of 'grabbing' it, this to speed up things
2. euh... what was the other thing... euh....
1. is there a way to read the screen directly from memory, instead of 'grabbing' it, this to speed up things
2. euh... what was the other thing... euh....
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
yeah well go and discourage me...
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
Forgive me I'm a bit of a code monkey. Compression is best done with zlib. zlib is a good library can do gzip compression. The good thing about gzip is the balance of speed and the achieved compression ratio. Zip is a possibility too, however you wouldn't as good compression and I'm not sure how it compares speed wise.freedimension wrote:Some thoughts about compression:
I think you should write some kind of Alpha-Compression, so that you don't have to send all data each loop, but only the data that has effectively changed. That would bring two advantages:
a) your refresh rate is lower and adapts to the changes on the screen automatically (i.e. if you watch a movie it will get laggy, but for office work it will just do fine)
b) your traffic is lower
You could reduce the number of colors used (i.e. use 16bit color depth)
Also you could catch all redraw events/messages windows is sending. Then only update the region indicated (that is especially good for the performance on the "server")
Combine all of the above, think something up.
If you succeed, I would be interested in the result as my experience is of theoretical nature only
-
freedimension
- Enthusiast

- Posts: 613
- Joined: Tue May 06, 2003 2:50 pm
- Location: Germany
- Contact:


