hecomi / uDesktopDuplication

Desktop Duplication API implementation for Unity (only for Windows 8/10)
http://tips.hecomi.com/entry/2016/12/04/125641
MIT License
563 stars 97 forks source link

Multiplayer Screen Synchronization #51

Open Dong-Hwi-Lee opened 3 years ago

Dong-Hwi-Lee commented 3 years ago

Hi,

If multiple users want to share a specific desktop screen, which data should they synchronize?

Thank you for providing this to GitHub.

halilzeybek commented 2 years ago

I'm looking for answer to this question too, It's might be the buffer of monitor but lets ask to @hecomi ..

hecomi commented 2 years ago

Sorry for the late reply.

To synchronize desktop images over the network, you need other libraries to compress the images and send/receive the packets. A very simple UDP-based sample is available here:

In practice, I recommend using existing network protocols that are more robust and proven.