For some reason it seems that the stop() method on the ScreenRecord class does not work. After sending a stop_and_pull call the function hangs until the 3 min timeout on the read_until_close step.
To reproduce:
import time
from adbutils import adb
device = adb.device()
recording = device.screenrecord(remote_path="/data/local/tmp/foo.mp4")
time.sleep(5)
recording.stop_and_pull("foo.mp4")
This should take around 5 seconds to run, but takes a little over 3 minutes
For some reason it seems that the
stop()
method on theScreenRecord
class does not work. After sending astop_and_pull
call the function hangs until the 3 min timeout on theread_until_close
step.To reproduce:
This should take around 5 seconds to run, but takes a little over 3 minutes