Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
112.21k stars 10.73k forks source link

How to reconnect the websocket #4235

Open WaynePU opened 1 year ago

WaynePU commented 1 year ago

Hello, when i use for a while,the phone stopped and i log in the onSocketClose, the event.code is "1006", i try to reconnect like this image but the event.code is "4005". I know it's a noob question, i'm a newbie, hope to your answer

rom1v commented 1 year ago

Scrcpy does not use websockets, and ha no JavaScript API. You're probably reporting to the wrong project/repo.