Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
109.66k stars 10.54k forks source link

scrcpy messes with device network connection through USB #4503

Closed ghost closed 10 months ago

ghost commented 10 months ago

Environment

Describe the bug When only connecting via USB, scrcpy messes with my phone's network connection when I do not use the wifi to mirror, only USB.

On errors, please provide the output of the console (and adb logcat if relevant).

Please paste terminal output in a code block.

Please do not post screenshots of your terminal, just post the content as text instead.

rom1v commented 10 months ago

What do you mean by "messes with my phone's network connection" ?

What problem do you observe? Any error message?

ghost commented 10 months ago

I was busy playing Arena breakout when I noticed an increase in Ping when connecting to official servers.

rom1v commented 10 months ago

What makes you think that this is related to scrcpy?

ghost commented 10 months ago

In my head, I thought that scrcpy still needed the wifi to be able to mirror my phone.

rom1v commented 10 months ago

Not if is connected over usb.

ghost commented 10 months ago

Oh, my apologies. Closing this as a non-scrpy issue.

ghost commented 10 months ago

Ok so, screenshots of me mirroring a mobile game through scrcpy image

ghost commented 10 months ago

Command line arguments in use: scrcpy -m 1024 -b 4M -t

Terminal Output:


scrcpy 2.3.1 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO:     -->   (usb)           RZCW40YDDRM            device  SM_A346E
E:\ScreenCopy\scrcpy-server: 1 file pushed, 0 skipped. 95.5 MB/s (66007 bytes in 0.001s)
[server] INFO: Device: [samsung] samsung SM-A346E (Android 13)
INFO: Renderer: direct3d
INFO: Texture: 1024x472
rom1v commented 10 months ago

The message "Reconnecting" is in your game, so if you mirror the screen with scrcpy, you see the message. It does not mean it is related to scrcpy.