Skip to content

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

@Sanmejie

Description

@Sanmejie

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions