This package allows you to view and control android device in realtime.
Note: This gif is compressed and experience lower quality than actual.
To begin with, you need to install this package via pip:
pip install scrcpy-client[ui]
Then, you can start py-scrcpy
to view the demo:
Note: you can ignore [ui]
if you don't want to view the demo ui
Here is the document GitHub page: Documentation
Also, you can check scrcpy_ui/main.py
for a full functional demo.
Already implemented all functions in scrcpy server 1.20.
Please check scrcpy server 1.20 source code: Link