chore(lotus): fix stale denoise flag docs + prep 0.20.1-lotus.2
The in-source ML denoiser is gated on lotusDenoiseSource (see lotusDenoise.ts gate), not the legacy build-time shim flag lotusDenoise=ml. Correct the two stale references (lotusDenoise.ts JSDoc + InCallView.tsx comment) to lotusDenoiseSource=1. Bump the embedded package to 0.20.1-lotus.2 for the next publish and update the CI comment: the checked-in version now tracks the intended release, while a pushed tag still wins (npm version "$TAG" overwrites at publish time). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
98fbdbd5cf
commit
d71d8d6799
@@ -25,7 +25,7 @@ import {
|
||||
* Element Call audio TrackProcessor (#1), replacing the host's build-time
|
||||
* `getUserMedia` monkeypatch.
|
||||
*
|
||||
* Opt-in via `lotusDenoise=ml` (+ `lotusModel`, `lotusGate`,
|
||||
* Opt-in via `lotusDenoiseSource=1` (+ `lotusModel`, `lotusGate`,
|
||||
* `lotusGateThreshold`, `lotusDenoiseBase`). Because the processor is attached
|
||||
* to the mic publication and re-attached on every (re)publish, denoise
|
||||
* survives EC's mid-call reconnect — fixing the A7 "mic dead after reconnect"
|
||||
|
||||
@@ -301,7 +301,7 @@ export const InCallView: FC<InCallViewProps> = ({
|
||||
// them on in-call tile avatars (#6). No-op unless the host sends them.
|
||||
useEffect(() => startLotusDecorations(), []);
|
||||
// [lotus] Apply ML denoise to the mic as a first-class audio processor that
|
||||
// survives reconnects (#1 / A7). No-op unless lotusDenoise=ml.
|
||||
// survives reconnects (#1 / A7). No-op unless lotusDenoiseSource=1.
|
||||
useEffect(() => startLotusDenoise(vm), [vm]);
|
||||
|
||||
const fatalCallError = useBehavior(vm.fatalError$);
|
||||
|
||||
Reference in New Issue
Block a user