Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stop_recording() ERROR:adbutils.errors.AdbError: ('scrcpy error', -2) #137

Open
Sanmejie opened this issue Jun 26, 2024 · 0 comments
Open

Comments

@Sanmejie
Copy link

Sanmejie commented Jun 26, 2024

adbutils 2.7.2

macbook m2
code demo
from adbutils import adb
import time
d = adb.device()
d.start_recording("video.mp4")
time.sleep(5)
d.stop_recording()

Traceback
raceback (most recent call last): File "4545.py", line 17, in <module> d.stop_recording() File "g/venv/lib/python3.10/site-packages/adbutils/screenrecord.py", line 98, in stop_recording return self.__get_screenrecord_impl().stop_recording() File "g/venv/lib/python3.10/site-packages/adbutils/screenrecord.py", line 81, in stop_recording self._stop() File "g/venv/lib/python3.10/site-packages/adbutils/screenrecord.py", line 156, in _stop raise AdbError("scrcpy error", returncode) adbutils.errors.AdbError: ('scrcpy error', -2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant