Open pljones opened 1 year ago
I'm pretty sure the reason for this is the client is responsible for actively retrieving the server details when it connects. As it doesn't think a new "connection" (in Jamulus terms - udp being connectionless anyway) has been established, it doesn't make the request.
Anyone any ideas on a backwards compatible fix? (i.e. one where no change to the server would be needed.) (I'm assuming nearly all clients do get updated to latest version.)
Can we emit something like a server Info changed message from the server?
Old servers won't do it -- that's the main problem. Many, many servers don't get updated.
I mean the client could also request it itself, but I don't think it's worth it...
The client wouldn't know when to request it.
Yes. And thus poll for it, which is inefficient.
Actually, this might work as client only...
The client, however, only expects and deals with some of that when it thinks it's connecting. For example, whilst it will display a server licence, I think it only pops up the "Accept" box when "connecting" and, as observed, ignores the server details.
So yes, that's something to investigate. A plan slowly emerges 😄 .
This means that we could configure the client to also react on updates from the server side.
This means that we could configure the client to also react on updates from the server side.
Yeah, I think so.
Describe the bug
If a server is restarted, changing the configuration to have a new server name, if it had been recording before the change, the client - still connected - does not update the recording banner.
To Reproduce
Expected behavior
Screenshots
Original server started:
-o jamulus.drealm.info;London;224
-> "jamulus.drealm.info"Initial server connection: Window title and recording banner on initial connection:
Original server stopped and replaced on same port:
-o Original Music;London;224
-> "Original Music"Connection window shows new name (and the welcome message was shown) but recording banner and window title are not updated:
Version of Jamulus
Client: 3.10.0 Server: 3.10.0