mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-07 00:14:49 -04:00
RemoteTCPSink: Report server init errors via GUI. Send protocol to public list.
RemoteTCPInput: Add wss protocol support.
This commit is contained in:
@@ -114,6 +114,9 @@ void SDRangelServerList::handleJSON(const QString& url, const QByteArray& bytes)
|
||||
if (serverObj.contains(QStringLiteral("port"))) {
|
||||
sdr.m_port = serverObj.value(QStringLiteral("port")).toInt();
|
||||
}
|
||||
if (serverObj.contains(QStringLiteral("protocol"))) {
|
||||
sdr.m_protocol = serverObj.value(QStringLiteral("protocol")).toString();
|
||||
}
|
||||
if (serverObj.contains(QStringLiteral("minFrequency"))) {
|
||||
sdr.m_minFrequency = serverObj.value(QStringLiteral("minFrequency")).toInt();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user