moonlight-stream / moonlight-qt

GameStream client for PCs (Windows, Mac, Linux, and Steam Link)
GNU General Public License v3.0
9.97k stars 579 forks source link

Host-specific configuration options #869

Open Ambr051us opened 1 year ago

Ambr051us commented 1 year ago

Currently the only thing I can do with paired hosts in the GUI is renaming or deleting them. I'd like to see options like encoding parameters and local display settings configurable on a per-host basis. But most importantly, I'm missing the option to explicitly specify the network resource to use for them, or even add multiple addresses to try in order (e.g. LAN address first, then ZeroTier, and if those don't work then try to set up a connection over the Internet).

cgutman commented 1 year ago

But most importantly, I'm missing the option to explicitly specify the network resource to use for them, or even add multiple addresses to try in order (e.g. LAN address first, then ZeroTier, and if those don't work then try to set up a connection over the Internet).

Moonlight should already be able to do this part. It keeps track of 4 addresses for each PC:

LAN and WAN addresses should be autodiscovered using mDNS and STUN, but you can enter your ZeroTier address using the Add PC button and it will associate the address with the PC that it connects to.

If you want to go further (or if mDNS is not working for whatever reason), it is possible to modify these manually in the config files (Linux/Mac) or the registry (Windows).

Ambr051us commented 1 year ago

it is possible to modify these manually in the config files (Linux/Mac) or the registry (Windows)

That's neat, it might be worth an entry in the Wiki, ideally including some details about what options there are and what they do ;) I also still think it would make sense to allow setting the streaming options for each host separately. I could even see utility in adding the same host multiple times for different network conditions on a laptop, not to mention that someone might have access to multiple machines with different capabilities regarding hardware codecs, etc. I don't want to come off as entitled, I know this is a passion project and all. I just thought it was a worthwhile idea, so I opened an issue to expose it. It doesn't look like it's attracting much attention though, so I guess it's fair to just leave it. Big thanks for creating Moonlight in the first place, it (combined with Sunshine) is the best tool for gamestreaming with an AMD GPU.

GeorgeGedox commented 1 year ago

This is something that I'm also looking for, basically I have a hosted VM for development that I want to always start in fullscreen 60fps 2K, and other temporary hosts such as a Steam Deck or laptops that I only want to use in a windowed mode to do updates, play some old games, etc.

I think this feature would be a very welcome QoL addition to Moonlight