creating screen share client over TCP with QML
-
I researched a lot but I don't know how to do it the right way. It should be primarily for windows 7-10 and independet of external software like .NET. Currently my server sends byte array of bitmap image to client which should display it as image stream inside of GUI. And I want images to be loaded from heap memory without saving on drive.
It should be implementable within GUI made with QML(prefered) or QT Widgets. Any directions/help?
-
Hi and welcome to devnet,
Are you trying to implement a VNC client ?
-
Hi, I am trying to do something on my own like AnyDesk client / VNC client.
I convert image byte array to base64 on c++ side and send emit with the base64 when it is received from socket. Than I update image by id with QML event triggered by receiving new image from socket, changing image source with new base64(in 20fps rate)? Is there a better way of doing it? -
Sending base64 encoded images is not a good idea performance and bandwidth wise.
You should rather work on top of well established technologies.