Bug 391624 - Add support for screen sharing
Summary: Add support for screen sharing
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Unclassified
Component: common (show other bugs)
Version: unspecified
Platform: Archlinux Packages Linux
: NOR normal with 55 votes (vote)
Target Milestone: ---
Assignee: Albert Vaca
URL:
Keywords:
: 345483 413774 425913 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-03-09 16:27 UTC by Côme Chilliet
Modified: 2022-01-12 18:36 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Côme Chilliet 2018-03-09 16:27:13 UTC
I just tested scrcpy which works really well for seeing and controlling an android device from my computer.

It would be awesome if KDE connect could reuse the code/ideas to have the same feature but without the need to activate adb and to plug in USB.

I also opened a ticket on their side: https://github.com/Genymobile/scrcpy/issues/13
Comment 1 Nicolas Fella 2020-08-29 10:05:07 UTC
*** Bug 413774 has been marked as a duplicate of this bug. ***
Comment 2 Nicolas Fella 2020-08-29 10:05:53 UTC
*** Bug 425913 has been marked as a duplicate of this bug. ***
Comment 3 Nicolas Fella 2020-08-29 10:09:39 UTC
If there was an easy way to achieve scrcpy's functionality without requiring adb I'm sure its developers would have found it, so I don't see us implementing that.

Another possible option could be MiraCast, but as far as I know there are no good Linux implementations and I'm definitly not going to do that myself
Comment 4 Nicolas Fella 2020-08-29 10:11:32 UTC

*** This bug has been marked as a duplicate of bug 345483 ***
Comment 5 Nicolas Fella 2020-08-29 10:12:17 UTC
*** Bug 345483 has been marked as a duplicate of this bug. ***
Comment 6 Côme Chilliet 2020-08-31 09:14:04 UTC
I may be mistaking but from what I understood scrcpy is using adb to push an application on the phone, which serves as a screensharing server. I thought it was possible to use KDE connect as the screensharing server instead and use its communication canal instead of the usb.

But I may have misunderstood how scrcpy uses adb.
Comment 7 Peter Oliver 2020-08-31 13:16:02 UTC
(In reply to Côme Chilliet from comment #6)
> I may be mistaking but from what I understood scrcpy is using adb to push an
> application on the phone, which serves as a screensharing server.

It says in https://github.com/Genymobile/scrcpy/issues/13:

> adb is required to call adb shell to have shell permissions granted (to capture the screen).
> 
> (instead, it could be an app using MediaProjection requesting the permission to the user, but then, this would be a different app).

So it seems that `adb` has a second use, here.