mirror of
https://github.com/quasar/Quasar.git
synced 2026-04-25 15:25:59 +03:00
[GH-ISSUE #11] Question about screen surveillance #3
Labels
No labels
bug
bug
cant-reproduce
discussion
duplicate
easy
enhancement
help wanted
improvement
invalid
need more info
pull-request
question
wont-add
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Quasar#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jmcbee on GitHub (Dec 18, 2014).
Original GitHub issue: https://github.com/quasar/Quasar/issues/11
Hi, I'm not really sure because I have a shitty internet connection. Is the screen surveillance only a screenshot of the screen or it's a live continuous stream?
@MaxXor commented on GitHub (Dec 18, 2014):
The Screen Surveillance sends at first a screenshot of the desktop, this could take a little bit with a slow internet connection. But then it sends only the changed parts of the next screenshot and so it looks like a stream. This should be fast enough, even for slow internet connections.
@jmcbee commented on GitHub (Dec 19, 2014):
@MaxXor thanks. What protocol or technology are you using to produce it?
@MaxXor commented on GitHub (Dec 19, 2014):
See this file: https://github.com/MaxXor/xRAT/blob/master/Client/Core/Helper/Helper.cs#L60
I use a technology to compare the last screenshot with the new one and then the method eliminates the pixels which are the same. In the end the client sends only the changed pixels to the server and the server overlays the changed pixels on the last screenshot. You should check out the code to fully understand it.
https://github.com/MaxXor/xRAT/blob/master/Client/Core/Helper/Helper.cs#L60
https://github.com/MaxXor/xRAT/blob/master/Client/Core/Commands/CommandHandler.cs#L201
... and server side:
https://github.com/MaxXor/xRAT/blob/master/Server/Core/Commands/CommandHandler.cs#L100