Closed AmazingRaise closed 2 years ago
when adb forward err, did not see nothing... then block...
for _ in range(self.connection_timeout // 100): try: self.__video_socket = self.device.create_connection( Network.LOCAL_ABSTRACT, "scrcpy" ) break except AdbError: print('adb forward err.. ') sleep(0.1) pass
maybe need raise error
self.device.create_connection(Network.LOCAL_ABSTRACT, "scrcpy"),不知道为什么返回报错
服务器前几秒不一定成功启动了, 需要等等
when adb forward err, did not see nothing... then block...
maybe need raise error