-
-
Notifications
You must be signed in to change notification settings - Fork 10.5k
-
-
Notifications
You must be signed in to change notification settings - Fork 10.5k
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
Edge 40 Neo Freeze #5296
Comments
My guess is that the video bit rate is greater than your network bandwidth (for any reason, bad network hardware, packet loss, etc.). At some point, the TCP buffer to send new packets is full, applying backpressure to MediaCodec, and the MediaCodec backend can't handle it (either it bufferizes packets until an out-of-memory, or something else). This is just a guess, but if it works over USB but not TCP/IP, that might be an explanation. Can you reproduce with a tiny bit rate (and awful quality):
? |
Nop! I tested it and it didnt work :c Oh, an important thing that I forgot to say, the Windows does not create a pop-out when im using tcpip. When I use USB, it appears instantly. Also when I turn off the Wifi before freeze in my phone, the scrcpy does not warn about disconnection. It only give a notification about it when I turn on the wifi again! I could try to ask in some kind of Motorola forum, but I have no idea about how i could ask this kind of question Im going to sleep now, its 5am in my timezone. But thanks for the attention! |
You mean you don't have any video at all? Try adb over tcp/ip manually (without scrcpy): Plug your device over USB, run |
尝试电脑开启一个AP,手机连接上电脑的AP,排查掉网络的原因 |
What is AP? Sorry, I'm not someone who's used to acronyms or codes, I'm not a programmer. How can I do it?
I have video when I use USB, but when i use tcpip it does not appear!
If I use adb devices, my IP appear and a USB number appear
If I remove the USB and type
I hope im not revealing any sensitive data .c. |
What is the full output in the console when you run over TCP/IP (including the command you executed)? |
I mean, you use the computer to open a portable hotspot.(If your computer supports WiFi), and then use your phone to connect to a wireless hotspot on your computer.Ideally, the Internet connection between the phone and the computer will be very stable. |
Im not sure if i understand, sorry...
Hey! I did not know my laptop would have a portable hotspot haha My phone is not dying, everything goes well! My wifi router is Huawei, maybe this has something to do with it. Thank you so much for your help!! @YanYiGe2023 @rom1v <3 |
Environment
Describe the bug
Hello!! Sorry for my bad english, its not my native language. I'm facing with a peculiar problem, I have e Edge 40 Neo and Scrcpy works very well via USB, with sounds, etc. But when I use internet way (Via tcpip) my phone simply stop to work after some seconds and freeze completely, being necessary restart the phone. Also while its freezed, my phone gets very hot (Somehow it's working at full capacity... For what???? It gets very very hot)
Even with low resolutions, my phone still freezes.
I already change the encodes with the list-encode.
Its literally the same thing with "--video-source=camera", via USB it works perfectly, but via TCPIP it does not work and freezes my phone.
When I share only audio, I cant listen to my phone often, sometimes I can listen the audio android but with the audio sliced.
Do you have some idea about what is happening?
The text was updated successfully, but these errors were encountered: