Feature Request: Save previous direct connection IP
Would be nice to persist the direction connection IP between sessions so I don't have to enter it manually every time. Or perhaps even easier, just add it to the "recents" list. Thanks for a great app, loving it so far.
Have you found the direct connect useful? It really is just a holdover from earlier development.. it wasn't designed to be actually used. If you don't want to use an external connection server with the group feature, you can just point the connection server field to your own local addresses, port 10999 and use the connection server built-in to the standalone SonoBus running on that machine, then you still get easy group use on your local network.... you can also just use the default one at aoo.sonobus.net.....
What is your use-case for using Direct? (since everything is always P2P direct even when using groups within your LAN)
I guess I just did it to ensure it runs over my LAN rather than going over the internet. Not the handshake but the actual audio stream. At this point its just a force of habit; I'll give the group feature a shot.
The audio streams will ALWAYS stay on your LAN, the connection server does not do audio at all, it's just for the group management and so the peers can get the addresses to communicate with each other (and it is smart about local IP addresses, trying them first).
You will find the group feature so so much easier. I may just hide the direct feature quite deeply to prevent people from using it... when they really shouldn't be.
@essej Related to the previous comment: What if 2 devices are joining a group connected from the same location (different rooms to avoid some kind of acoustic coupling) using the same wired LAN and have WiFi enabled at the same time. Would SonoBus automatically select the wired connection?
@essej Related to the previous comment: What if 2 devices are joining a group connected from the same location (different rooms to avoid some kind of acoustic coupling) using the same wired LAN and have WiFi enabled at the same time. Would SonoBus automatically select the wired connection?
It depends on the operating system and the order of the network configuration interfaces which one is used first. This is why I always recommend disabling WiFi completely when you are also wired up and about to use SonoBus. Even with the ethernet getting priority, sonobus can be confused if packets try to get routed one way and then come back another.... so disabling wifi is always a good idea.
Thanks for the answer. That's interesting.
Just FYI, in the few tests we did (both with Windows and MacOS), the peer IP was always the one associated with the wired LAN connection. That's why I kinda implicitly assumed there was some baked in mechanism preferring the wired over the wireless connection (but maybe that was just luck :D )
You can control it, but on Mac at least it's tied to which interface is listed first in the network settings. I was surprised to discover this, as I just assumed it would automatically prefer ethernet. This is not the case! Not sure about how windows operates...
I never even noticed that one could reorder the network devices on MacOS :) The more you know! Thanks for the heads up.