Using another android device as client #100
Comments
As is, the client would require SDL and FFmpeg ARM versions, and wrap SDL stuff into an Android application. But IMO it would be better to write a specific Android client, which would use the Android APIs instead of SDL and FFmpeg. |
+1 Would also like to see this turn into a feature. |
Hi @rom1v ! |
@tailcode The name should not be confusing about what application it is, so the very same name is not a good idea. Maybe |
@rom1v Thank you. Considering basic functionality of scrcpy, I think my app is ready but not perfect. This is my first app. I want you to take a look at my app and provide me with suggestions. So if you are okay with it please provide me with an email or any other medium to send the apk. And if possible kindly suggest some "wordplay" for the app name. |
Hey, sorry for bothering, but is there any plans to make it so there's almost no latency on the android app @tailcode is developing? |
Sure. Publish the code somewhere and I'll take a look when I have some time |
@rom1v Here is the code. Thanks in advance. |
@rom1v Thank you very much. I agree with you. But I have made small changes to AdbCrypto.java file of adblib. I will see if I can isolate those changes. Meanwhile one issue that I came upon while using the app is, I am unable to open items in gallery and file manager of remote device. When I click on an image or video thumbnail, instead of opening, they are being selected. Please enlighten me if I am missing something. |
@tailcode Hey, I just tested, that works great Is it possible to quit from the client? (I only see the remote fullscreen, so I can't control the client device) Also, if the devices have a different aspect ratio (typically if I force the navbar to be displayed), the video aspect-ratio is not preserved.
I think there is a similar problem with VLC: if I click quickly while a video is playing, it should display the control bar, but it does not. |
@rom1v Thank you very much for the feedback.
Yes, when you exit from the app, socket pipe breaks and server terminates. Cleaning of remote device is handled in server code.
You mean input events are not working ? I have tested on few devices and they worked for me. Please let me know what device you are using and I will try to test on it if I can find it in my circle. One hurdle I have encountered on a Samsung device is, it doesn't have curl or wget binaries in it and the server cannot be downloaded to it by the current implementation. I don't know if all samsung devices are so. I have worked on a new method to push server to remote device which I am testing. I will push them to git once I think it is ready. |
How do you do that? The whole client screen displays the remote screen.
Yes, input events are workings: they are forwarded to the remote device. |
@rom1v Sorry, I mistook your question.
Just swipe from bottom edge of screen. You will see android navigation bar. |
srccpy-android works really well for me, especially after changing my phone's aspect ratio to match my tablet's with Even with just a wifi connection, the latency is low enough to type without any lag on my bluetooth keyboard, scroll webpages, and watch videos. Maybe a link could be added in scrcpy's README? |
@tailcode thanks for android client, having problem with landscape device, more info: https://gitlab.com/las2mile/scrcpy-android/issues/3 |
It works only wiressly, no USB OTG support ? |
Any APK for scrcpy-android? Would love to try it out. |
@parkerlreed It works pretty well for me over wifi, but would have lower latency I think if USB connections were supported. |
Cheers! Working quite well with Pixel 3 XL host and Fire HD 8 as client |
Scratch that ^ Shield was on ethernet whilst phone was on Wifi. Works when both on wifi. |
Is it possible to choose custom resolution or lunch mirror screen from shell (probably for tasker use). I have broken s8+ which is main device for nexus 7 2013 which is build in in my car dashboard. Both has 1000x1920 resolution and I can choose 1080x1920 inside scrcpy-android-client and my tap to screen doesn't recognize proper. Besides that, there is no lag, quality is avesome. Good work and thank you a lot for your work |
@dudinr1 |
@tailcode First, thanks a lot for your android client project. It's very useful in my scenario. By using your project, I have a problem in control. The controls such as tap and drag work like a charm in this PC client. But for your android client, the operations are easy to be lost or misunderstood. Do you have time to track this issue? Thanks a lot. |
Can I fork this repository to maintain this one, I am very interest on it. |
Is there still development on this? |
Here is not the proper place for this. |
Working, tested on Galaxy S8 :) |
Dear All |
Very respectable response and code can almost always be better. Java is my coffee but I'll have a deep dive and use my external thought process to help if possible. |
Thanks for your work, I'm very interested in it. Maybe you could decide on a license, otherwise it's kind of problematic to use and work on your code. You could just copy a license template from https://opensource.org/licenses (for exmaple GPL or MIT). |
An Android build with the new multi-touch support would be fantastic. |
Thanks for this amazing project.
Is it possible to mirror one android screen to another android device using scrcpy-adb connect method? I found adb clients compiled for arm devices and also java implementation of adb client on github. What are your thoughts?
The text was updated successfully, but these errors were encountered: