Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xiaomi 15 Pro connection error #86

Open
Liziguo opened this issue Nov 7, 2024 · 6 comments
Open

Xiaomi 15 Pro connection error #86

Liziguo opened this issue Nov 7, 2024 · 6 comments

Comments

@Liziguo
Copy link

Liziguo commented Nov 7, 2024

Exception in thread Thread-1: Traceback (most recent call last): File "C:\Users\admin\AppData\Local\Programs\Python\Python39\lib\threading.py", line 980, in _bootstrap_inner self.run() File "C:\Users\admin\AppData\Local\Programs\Python\Python39\lib\threading.py", line 917, in run self._target(*self._args, **self._kwargs) File "D:\PycharmProjects\phone_controller\.venv\lib\site-packages\scrcpy\core.py", line 253, in __stream_loop raise e File "D:\PycharmProjects\phone_controller\.venv\lib\site-packages\scrcpy\core.py", line 234, in __stream_loop raise ConnectionError("Video stream is disconnected") ConnectionError: Video stream is disconnected

@Liziguo
Copy link
Author

Liziguo commented Nov 7, 2024

It has been resolved. I originally installed it using "pip install scrcpy-client", but it was an old version. My solution was to simply copy the code to my project.

@dzhh
Copy link

dzhh commented Dec 10, 2024

我之前是澎湃OS1.0是可以的,升级澎湃OS2就报这个错, 需要把最新的代码复制到工程里面。

@Robinmarsx
Copy link

这是什么问题啊,我想跑py-scrcpy 就会报错,原因好像是安卓15不行, 如果用安卓14就不会报错

@Robinmarsx
Copy link

怎么把最新的代码复制到工程里,有没有大佬解释下

@Liziguo
Copy link
Author

Liziguo commented Feb 21, 2025

怎么把最新的代码复制到工程里,有没有大佬解释下

不要使用pip install安装,直接clone源代码, 把源代码下的scrcpy文件夹拷贝到你的项目就可以了

@Robinmarsx
Copy link

可以,很牛

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants