XITRIX / Moonlight-Switch

Moonlight port for Nintendo Switch
777 stars 47 forks source link

[Feature Request] Customise port to connect to PC #93

Open Cokkie203 opened 1 year ago

Cokkie203 commented 1 year ago

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

XITRIX commented 1 year ago

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

artslay commented 7 months ago

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

its working now?

Cokkie203 commented 7 months ago

Nope Not in the way I showed

artslay commented 7 months ago

Nope Not in the way I showed

do you find the solution?

Cokkie203 commented 7 months ago

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

GrayXu commented 5 months ago

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?