Original link: https://www.appinn.com/ws-scrcpy/
ws-scrcpy is a project based on open source scrcpy to display and control Android phones with a browser. It can achieve similar effects to cloud phones, allowing you to directly control your Android phone in any modern browser. @Appinn
A few days ago, Green Frog introduced Scrcpy Remote – remote control of Android devices with iPhone [iOS] (https://ift.tt/vgCZ4Ms), @YJIN recommended ws scrcpy:
It is recommended to personally experience the best solution ws scrcpy , a web client written by Nodejs, which can be controlled directly in the browser. Use the old mobile phone and tablet on the Raspberry Pi, the cloud mobile phone byebye is in your hands! If there is a need for screen control, you can run an additional process on the server to save the country (chestnut):
scrcpy -Sw -b10K -m400 –max-fps 1 –v4l2-sink=/dev/video11 -N –tcpip=mipad.lan
Due to the limited technology, Green Frog tried to deploy for a long time and failed, so he begged @YJIN to discover the channel to share, and there is this content:
Ws scrcpy: scrcpy web application, realize cloud mobile phone effect
Simply sharing a web terminal of scrcpy is the best remote control solution for personal experience at present. With the home agent or intranet penetration, it can basically achieve the effect similar to the cloud phone on the market, and there is no need to install additional clients or choose platforms, just have a browser.
- Name: ws-scrcpy
- Project address: GitHub – NetrisTV/ws-scrcpy: Web client prototype for scrcpy.
Finally, the deployment of Green Frog was successful. I couldn’t think of the two pits that @YJIN mentioned when compiling, but Green Frog is all in: Nodejs v17+ dependencies conflict, insufficient memory is not enough to compile…
For specific deployment tutorials, please refer to the content of the discovery channel : https://meta.appinn.net/t/topic/33828
Docker image for ws-scrcpy
As a docker enthusiast, Qingliu made a Docker image of ws scrcpy , which is very simple to use:
docker run --name ws-scrcpy -d -p 8000:8000 scavin/ws-scrcpy docker exec ws-scrcpy adb connect Android IP address: 5555
Remember to turn on the adb Wi-Fi mode of your Android device first:
- Install the adb tool suite on the computer ( SDK Platform Tools : Windows Portable )
- Turn on developer mode
- Connect Android device using USB and authorize
- Terminal input
adb tcpip 5555
Then, open the browser ip:8000 to see the device list page of ws-scrcpy:
Still, when connecting for the first time, the Android device will pop up an authorization confirmation, if it doesn’t pop up, try a few more times.
Then you can choose a non-card from Broadway.js / H264 Converter / Tiny H264 to connect the device:
Click the three dots in the upper right corner to set the screen-off operation: Set screen power mode OFF
For the specific settings of ws -scrcpy , see https://meta.appinn.net/t/topic/33828
Then there is the same question, the mobile phone is clouded, what else can it be used for?
Related Reading
- Scrcpy for controlling Android phones from a computer now has an easier-to-use graphical interface
- Scrcpy – Control Android Phone with PC [Win/macOS/Linux]
- Scrcpy Remote – Remotely control Android devices with iPhone [iOS]
- QtScrcpy – Control Android phone with computer, support multi-touch, playable Peace Elite, Chinese interface [Win/macOS/Linux]
© 2021 Green Frog for Niche Software | Join Us | Subscribe | Subscribe Guide
3659b075e72a5b7b1b87ea74aa7932ff
Click here to leave a message and comment with the original author
This article is reprinted from: https://www.appinn.com/ws-scrcpy/
This site is for inclusion only, and the copyright belongs to the original author.