You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
使用 mode=ffmpeg 录屏时,发送了警告
regression_test/test_privacy_policy.py::Test_privacy_policy::test_privacy_policy_exists_rt
C:\Users\amber\AppData\Local\Programs\Python\Python310\lib\site-packages\airtest\aircv\screen_recorder.py:151: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead
self.t_stream.setDaemon(True)
regression_test/test_privacy_policy.py::Test_privacy_policy::test_privacy_policy_exists_rt
C:\Users\amber\AppData\Local\Programs\Python\Python310\lib\site-packages\airtest\aircv\screen_recorder.py:154: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead
self.t_write.setDaemon(True)
(请尽量按照下面提示内容填写,有助于我们快速定位和解决问题,感谢配合。否则直接关闭。)
(重要!根据问题类型选择分类)
详细描述问题bug:
使用 mode=ffmpeg 录屏时,发送了警告
regression_test/test_privacy_policy.py::Test_privacy_policy::test_privacy_policy_exists_rt
C:\Users\amber\AppData\Local\Programs\Python\Python310\lib\site-packages\airtest\aircv\screen_recorder.py:151: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead
self.t_stream.setDaemon(True)
regression_test/test_privacy_policy.py::Test_privacy_policy::test_privacy_policy_exists_rt
C:\Users\amber\AppData\Local\Programs\Python\Python310\lib\site-packages\airtest\aircv\screen_recorder.py:154: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead
self.t_write.setDaemon(True)
复现步骤:
执行以下代码
device().start_recording(output='demo.mp4', mode='ffmpeg')
python 版本:
python3.10
操作系统:
Windows11 64bit
手机设备信息:
其他相关信息补充
(例如在linux ubuntu16.04上运行异常,在windows上正常等信息。)
截屏
强烈建议带上截图,包括IDE本身的截图和后面的黑窗口的报错信息的截图(尽量完整)。
The text was updated successfully, but these errors were encountered: