<div dir="ltr"><div><div><div>Hey,<br></div><br></div>Great Idea, although do make it optional. WiFi bandwidth is limited and especially I don't want to hog a big chunk of it streaming images every millisecond or so.<br><br></div>VNC does this already, so we can look into how they handle streaming the images/videos on the network, which is pretty efficient. I also agree on opening a different socket for this.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 16, 2014 at 1:08 PM, Albert Vaca <span dir="ltr"><<a href="mailto:albertvaka@gmail.com" target="_blank">albertvaka@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Bernhard,<br><div class="gmail_extra"><br></div><div class="gmail_extra">This is super cool! I totally agree it would be nice to reverse the controls as well as to add a small cursor on screen, to polish it and make it perfect. But as a proof of concept this works quite well already!</div><div class="gmail_extra"><br></div><div class="gmail_extra">However, I would try to change the way yo send the images, because base64-encode every image and send that as text doesn't seem very efficient. A better way to do it would be to establish a connection using a socket just for that, where you could keep "streaming" the image data in binary format. It can be a bit challenging technologically, but do you think you could implement something like that? If you want to use it, the "setPayload" option of the NetworkPackage class automatically establishes the socket connection for you and you only have to write through it.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Another good optimization would be to compress the image before sending it, so we don't send a image unnecessarily big.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Do you think you can work on improving this points? This prototype is already awesome, but polishing a bit the rough edges it can become a killer feature for a lot of users :)</div><div class="gmail_extra"><br></div><div class="gmail_extra">Albert</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_quote"><div><div class="h5">On Sat, Dec 13, 2014 at 8:14 AM, Bernhard Übelacker <span dir="ltr"><<a href="mailto:bernhardu@vr-web.de" target="_blank">bernhardu@vr-web.de</a>></span> wrote:</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5">Hello all,<br>
I tried to extend this plugin to show the remote region under the mouse<br>
pointer. So basically extend it to be used as remote control without<br>
having the screen in sight.<br>
<br>
Attached you find 2 prototype patches which enable this.<br>
<br>
<br>
Currently biggest problem is with the performance:<br>
<br>
Right now a QPixmap grabs the screen content, puts this as PNG to a<br>
buffer, encodes it as base64 and attaches it to a network packet.<br>
<br>
To make it even worse the space available on a network packet seems<br>
rather limited and so it is split into several network packets per picture.<br>
<br>
In small zoom areas it is bearable, but if you get a bigger part of the<br>
screen it does not work anymore.<br>
<br>
<br>
These minor points are also open:<br>
- Sometimes scroll events are sent when one tries to zoom (pinch).<br>
Even after increasing MinDistanceToSendScroll.<br>
- When using it without looking at the screen probably an option is<br>
needed to reverse directions. Also a mouse pointer on the android<br>
device would be needed.<br>
<br>
<br>
What do you think about it?<br>
<br>
Kind regards,<br>
Bernhard<br>
<br>
<br></div></div>_______________________________________________<br>
KDEConnect mailing list<br>
<a href="mailto:KDEConnect@kde.org" target="_blank">KDEConnect@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kdeconnect" target="_blank">https://mail.kde.org/mailman/listinfo/kdeconnect</a><br>
<br></blockquote></div></div></div>
<br>_______________________________________________<br>
KDEConnect mailing list<br>
<a href="mailto:KDEConnect@kde.org">KDEConnect@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kdeconnect" target="_blank">https://mail.kde.org/mailman/listinfo/kdeconnect</a><br>
<br></blockquote></div></div>