scrcpy-plus icon indicating copy to clipboard operation
scrcpy-plus copied to clipboard

Option to remember Ip Address for wireless connection

Open Void2258 opened this issue 1 year ago • 8 comments

Whenever we establish a new wireless connection, we have to retype the entire IP address and port. The port changes every time, but the IP can stay static if you are on the same network and using the same device often. An option to remember the IP for later would be handy. I am currently keeping this in a txt file and copy-pasting every time; this would simply put it all inside the program itself.

Void2258 avatar Jan 25 '24 18:01 Void2258

I have to put in a new pairing code and IP address and the port is different and the pairing code. Thats on WiFi

Markcoruk avatar Jan 26 '24 11:01 Markcoruk

The IP CAN stay static depending on a bunch of factors. It won't always. I am just saying it would be nice to have the option to save it when it does.

Void2258 avatar Jan 26 '24 14:01 Void2258

My IP stays the same just have to keep entering the code and the address.

Markcoruk avatar Jan 26 '24 15:01 Markcoruk

Personally, my local IP of my android device doesn't change much, though I do need a different pairing code each time. Is this roughly the same for others?

Frontesque avatar Feb 29 '24 01:02 Frontesque

That's what they are saying. The IP tends to stay the same, it's just the ports that change each time. So give an option to remember the last used IP so there is no need to keep reentering it every time.

Mura2099 avatar Feb 29 '24 03:02 Mura2099

That's what they are saying. The IP tends to stay the same, it's just the ports that change each time. So give an option to remember the last used IP so there is no need to keep reentering it every time.

the only issue with that that I see is that when it does inevitably change (due to the nature of DHCP), people will say that wireless stopped working, and report it as a bug.

Frontesque avatar Feb 29 '24 14:02 Frontesque

You can make it a default-off option that people have to intentionally set. People who don't know what is happening won't set the toggle and won't see a change to current behavior.

Just as an anecdotal note, my IP has not changed in over a year.

Void2258 avatar Feb 29 '24 14:02 Void2258

You can make it a default-off option that people have to intentionally set. People who don't know what is happening won't set the toggle and won't see a change to current behavior.

Lots of people blindly check a box that says "remember", but I could possibly add a notice that says that the ip can change if it's saved.

Just as an anecdotal note, my IP has not changed in over a year.

That's based on your router's DHCP settings. Some people have routers from companies like spectrum with a 48hour DHCP expiry time. This app is designed for people who don't know what DHCP is, so i need to make it "idiot proof" as the original purpose of this app was to make an easy way for my non tech-savvy friends to use SCRCPY.

Frontesque avatar Feb 29 '24 15:02 Frontesque