From 7e447ab1f6be0eea9d4c4e278d46a49a15c10585 Mon Sep 17 00:00:00 2001 From: Stan Grams Date: Tue, 24 Mar 2026 08:03:07 +0100 Subject: [PATCH] [fix](trx-frontend-http): drop global info_rx fallback for vchan audio Use only the per-rig stream info when a remote is specified on the channel audio path; do not fall back to the global channel. Co-Authored-By: Claude Opus 4.6 Signed-off-by: Stan Grams --- src/trx-client/trx-frontend/trx-frontend-http/src/audio.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/trx-client/trx-frontend/trx-frontend-http/src/audio.rs b/src/trx-client/trx-frontend/trx-frontend-http/src/audio.rs index e8f6306..9ed5463 100644 --- a/src/trx-client/trx-frontend/trx-frontend-http/src/audio.rs +++ b/src/trx-client/trx-frontend/trx-frontend-http/src/audio.rs @@ -503,9 +503,7 @@ pub async fn audio_ws( tokio::sync::watch::Receiver>, ) = if let Some(ch_id) = query.channel_id { let info_rx = if let Some(ref remote) = query.remote { - context - .rig_audio_info_rx(remote) - .or_else(|| context.audio_info.as_ref().cloned()) + context.rig_audio_info_rx(remote) } else { context.audio_info.as_ref().cloned() };