Open fbgranado opened 9 years ago
No. The grabber.c code to get pixel data from a window is quite Windows specific. You'd need to rewrite this for other OSes. The app_on_message() that "fakes" keyboard and mouse input, only works on Windows as well.
Everything else, i.e. the encoder and WebSocket server, should work cross platform.
Could you add something to the readme (or the GH summary line) saying this is Windows-only? That would be helpful.
@jaredly good idea. The summary now reads: A low latency, high framerate screen sharing server for Windows and client for browsers
awesome thanks!
Could the screen grabbing on Linux be possible with xlib? https://tronche.com/gui/x/xlib/
I would also be interested in GNU/Linux support! This is a very nice program.
I would love GNU/Linux and Mac support!
ffmpeg can already grab the screen natively on linux. So that solves the screen-grabbing issues.
Which just leaves support for the input emulation, which I believe xdotool can solve!
xdotool key alt+Tab
would simulate pressing Alt+Tab!
xdotool also supports emulating mouse movement as well as relative movement (required for some games).
WinPR (Windows Portable Runtime) by FreeRDP should help to solve this kind of portability issues.
In case this is still relevant to anyone, I did a semi-complete port to Linux a couple of years ago that should still work: https://github.com/thesauri/jsmpeg-vnc-linux
Hi,
Its possible to use a linux or Mac OS as a server?
If I compile the source code it will work?
Thanks