wonder Expert Licensed User Longtime User Jul 17, 2016 #1 I'd like to create a very very simplified remote desktop application for my personal use. My idea: - Screenshot my PC at home 30 times per second - Continuously send the screenshots to my laptop - Receive mouse/keyboard input from the client - Local network and Internet compatible (UDP? TCP/IP?) So... Is it possible? If so, would the jAWTRobot lib be up for the job? Would such performance be achievable?\ Many thanks in advance. Last edited: Jul 17, 2016
I'd like to create a very very simplified remote desktop application for my personal use. My idea: - Screenshot my PC at home 30 times per second - Continuously send the screenshots to my laptop - Receive mouse/keyboard input from the client - Local network and Internet compatible (UDP? TCP/IP?) So... Is it possible? If so, would the jAWTRobot lib be up for the job? Would such performance be achievable?\ Many thanks in advance.
Erel B4X founder Staff member Licensed User Longtime User Jul 18, 2016 #2 Check this example: https://www.b4x.com/android/forum/t...ol-the-desktop-with-your-phone.60887/#content And: https://www.b4x.com/android/forum/threads/server-screen-capture-server.37292/#content Sending each screenshot as a separate image may require too much bandwidth. 30 * 300kb = 9mb per second. The correct way is to use a video format. Upvote 0
Check this example: https://www.b4x.com/android/forum/t...ol-the-desktop-with-your-phone.60887/#content And: https://www.b4x.com/android/forum/threads/server-screen-capture-server.37292/#content Sending each screenshot as a separate image may require too much bandwidth. 30 * 300kb = 9mb per second. The correct way is to use a video format.
wonder Expert Licensed User Longtime User Jul 18, 2016 #3 Thank you, I think I understood everything what's necessary except how to encode the PC output into a video format... Is there a library for that? Upvote 0
Thank you, I think I understood everything what's necessary except how to encode the PC output into a video format... Is there a library for that?
LucaMs Expert Licensed User Longtime User Jul 18, 2016 #4 wonder said: Thank you, I think I understood everything what's necessary except how to encode the PC output into a video format... Is there a library for that? Click to expand... Is it possible that an encoder video can be faster than sending single frames? I don't think so. Upvote 0
wonder said: Thank you, I think I understood everything what's necessary except how to encode the PC output into a video format... Is there a library for that? Click to expand... Is it possible that an encoder video can be faster than sending single frames? I don't think so.
Erel B4X founder Staff member Licensed User Longtime User Jul 18, 2016 #5 wonder said: Thank you, I think I understood everything what's necessary except how to encode the PC output into a video format... Is there a library for that? Click to expand... I don't think that there is such a library. Upvote 0
wonder said: Thank you, I think I understood everything what's necessary except how to encode the PC output into a video format... Is there a library for that? Click to expand... I don't think that there is such a library.
Cableguy Expert Licensed User Longtime User Jul 18, 2016 #6 LucaMs said: Is it possible that an encoder video can be faster than sending single frames? I don't think so. Click to expand... Maybe not faster... but, since it will certainly compress the data, less bandwidth will be necessary! Upvote 0
LucaMs said: Is it possible that an encoder video can be faster than sending single frames? I don't think so. Click to expand... Maybe not faster... but, since it will certainly compress the data, less bandwidth will be necessary!
DonManfred Expert Licensed User Longtime User Jul 18, 2016 #7 a 300kb screenshot in jpg is already compressed. There is not much to compress Upvote 0
Cableguy Expert Licensed User Longtime User Jul 18, 2016 #8 Yes, but you need to compare the 30 frames/s (300k * 30) per second against 1s of video encoded! Upvote 0
wonder Expert Licensed User Longtime User Jul 18, 2016 #9 This open-source project may be a good starting point: http://jrdesktop.sourceforge.net/ Upvote 0