codeskyblue

Results 732 comments of codeskyblue

我写了一个例子,使用imageio结合WDA的mjpeg server录的屏幕,你可以参考一下(因为是通过图片合成的视频,理论上是跨平台的 https://github.com/alibaba/taobao-iphone-device/blob/d6071b6236976dcfd469a5175b019a9aeef209f6/scripts/uitest_screenrecord.py

不同设备?你是一个设备录制一个视频的意思吗? WDA监听的是手机内的9100端口,多个手机不冲突啊

对了,包括8100也是,每个设备自己设备内监听,不冲突

我知道这个功能是没什么问题,因为拿别的app启动测试过

``` import tidevice d = tidevice.Device() for im in d.iter_screenshot(): print(im.size) ``` The speed is not very fast, but might be enough to generate video

tidevice xctest --debug 查看一下原因