[chore](trx-client): update default ports to 4530/4531
Change default remote connection port from 4532 to 4530 and audio server_port from 4533 to 4531. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Stan Grams <stanislawgrams@gmail.com>
This commit is contained in:
@@ -109,7 +109,7 @@ impl Default for AudioClientConfig {
|
|||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
Self {
|
Self {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
server_port: 4533,
|
server_port: 4531,
|
||||||
bridge: AudioBridgeConfig::default(),
|
bridge: AudioBridgeConfig::default(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ use trx_core::{RigError, RigResult};
|
|||||||
use trx_protocol::rig_command_to_client;
|
use trx_protocol::rig_command_to_client;
|
||||||
use trx_protocol::{ClientCommand, ClientEnvelope, ClientResponse};
|
use trx_protocol::{ClientCommand, ClientEnvelope, ClientResponse};
|
||||||
|
|
||||||
const DEFAULT_REMOTE_PORT: u16 = 4532;
|
const DEFAULT_REMOTE_PORT: u16 = 4530;
|
||||||
const CONNECT_TIMEOUT: Duration = Duration::from_secs(5);
|
const CONNECT_TIMEOUT: Duration = Duration::from_secs(5);
|
||||||
const IO_TIMEOUT: Duration = Duration::from_secs(10);
|
const IO_TIMEOUT: Duration = Duration::from_secs(10);
|
||||||
const MAX_JSON_LINE_BYTES: usize = 16 * 1024;
|
const MAX_JSON_LINE_BYTES: usize = 16 * 1024;
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ port = 0
|
|||||||
# Enable remote audio stream and decode transport
|
# Enable remote audio stream and decode transport
|
||||||
enabled = true
|
enabled = true
|
||||||
# Remote trx-server audio port
|
# Remote trx-server audio port
|
||||||
server_port = 4533
|
server_port = 4531
|
||||||
|
|
||||||
[frontends.audio.bridge]
|
[frontends.audio.bridge]
|
||||||
# Enable local cpal bridge for WSJT-X virtual audio routing
|
# Enable local cpal bridge for WSJT-X virtual audio routing
|
||||||
|
|||||||
Reference in New Issue
Block a user