def __init__(self, d: AbstractDevice, remote_path=None, autostart=False):
        """The maxium record time is 3 minutes"""
        self._d = d
        if not remote_path:
            remote_path = "/sdcard/adbutils-tmp-video-%d.mp4" % int(time.time() * 1000)
        self._remote_path = remote_path
        self._stream = None
The maxium record time is 3 minutes
adbutils/screenrecord.py