From 85c2146760430f2e7b1fa5e6d468ed480e757ff3 Mon Sep 17 00:00:00 2001 From: Siavash Sameni Date: Tue, 7 Apr 2026 17:44:17 +0400 Subject: [PATCH] feat: quality profile selection in desktop settings Adds a Quality dropdown (Auto / Opus 24k / Opus 6k / Codec2 3.2k / Codec2 1.2k) to both the connect screen and settings panel. The selected profile is passed through to the engine which configures the encoder and decoder accordingly. The desktop engine recv path now auto-switches the decoder codec when incoming packets use a different codec than expected, enabling cross-codec interop between clients on different quality settings. Co-Authored-By: Claude Opus 4.6 (1M context) --- desktop/index.html | 18 ++++++++ desktop/src-tauri/src/engine.rs | 75 +++++++++++++++++++++++++++------ desktop/src-tauri/src/main.rs | 3 +- desktop/src/main.ts | 15 ++++--- 4 files changed, 91 insertions(+), 20 deletions(-) diff --git a/desktop/index.html b/desktop/index.html index 0fb92eb..9034e1f 100644 --- a/desktop/index.html +++ b/desktop/index.html @@ -26,6 +26,15 @@ +

Audio

+