Moonlight-Switch icon indicating copy to clipboard operation
Moonlight-Switch copied to clipboard

[Feature Request] Customise port to connect to PC

Open Cokkie203 opened this issue 1 year ago • 7 comments

i have a sunshine setup with custom ports because my isp has split my ip in 4 and i have the last quarter this feature already works in pc and android with this model XXX.XXX.XXX.XXX:YYYYY X being ip and Y is the port i already tried and made the not recognized address error

Cokkie203 avatar May 04 '23 20:05 Cokkie203

Yes, IP field is only recognises the IP address, not port. May be I'll add it later

XITRIX avatar May 05 '23 17:05 XITRIX

Yes, IP field is only recognises the IP address, not port. May be I'll add it later

its working now?

artslay avatar Nov 18 '23 17:11 artslay

Nope Not in the way I showed

Cokkie203 avatar Nov 18 '23 17:11 Cokkie203

Nope Not in the way I showed

do you find the solution?

artslay avatar Nov 18 '23 17:11 artslay

No currently not working on my switch It is on my phone but the screen is too small

Cokkie203 avatar Nov 18 '23 17:11 Cokkie203

https://github.com/XITRIX/Moonlight-Switch/blob/c9162744974dd06a142c1f84f698f57f87ce4f53/app/src/libgamestream/client.cpp#L58C7-L60

It seems that the port settings are fixed here, and a simple way is to directly modify and recompile. It looks like Moonlight should have multiple ports. I wonder how the app on the phone manually sets multiple ports?

GrayXu avatar Jan 15 '24 03:01 GrayXu