a8aeeaca4e
Connect to the server audio TCP port, relay RX Opus frames into a broadcast channel and TX frames from an mpsc channel. Pass audio channels to the HTTP frontend via set_audio_channels. Reconnects with exponential backoff on disconnect. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Stanislaw Grams <stanislawgrams@gmail.com>
31 lines
970 B
TOML
31 lines
970 B
TOML
# SPDX-FileCopyrightText: 2025 Stanislaw Grams <stanislawgrams@gmail.com>
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
[package]
|
|
name = "trx-client"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
tokio = { workspace = true, features = ["full"] }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
toml = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
clap = { workspace = true, features = ["derive"] }
|
|
dirs = "6"
|
|
libloading = "0.8"
|
|
bytes = "1"
|
|
trx-core = { path = "../trx-core" }
|
|
trx-frontend = { path = "trx-frontend" }
|
|
trx-frontend-http = { path = "trx-frontend/trx-frontend-http" }
|
|
trx-frontend-http-json = { path = "trx-frontend/trx-frontend-http-json" }
|
|
trx-frontend-rigctl = { path = "trx-frontend/trx-frontend-rigctl" }
|
|
trx-frontend-appkit = { path = "trx-frontend/trx-frontend-appkit", optional = true }
|
|
|
|
[features]
|
|
default = []
|
|
appkit-frontend = ["trx-frontend-appkit/appkit"]
|