#430·ego-lite

[Bug]: Live Caption always shows "temporarily unavailable" on macOS; Live Translate API key has Cloud Translation disabled

Author: a799244915Created Sep 25, 2026Updated Oct 1, 2026

What happens

Live Caption (Settings → Accessibility → Live Caption) does not work in ego lite on macOS. As soon as a tab plays audio, the caption bubble shows only:

暂时无法使用实时字幕功能 (Live Caption is temporarily unavailable)

This happens both with Live Translate on (bubble header shows "正在翻译 → 中文(简体)") and with Live Translate turned off. So there are two separate problems: speech recognition (SODA) itself, and the translation backend.

Environment

  • ego lite 0.5.1.13 (arm64)
  • macOS 27.2 (26B5091g), MacBook Pro Mac17,9, Apple M5 Pro
  • Live Caption language: cmn-Hans-CN. Language packs downloaded: en-US, ja-JP, cmn-Hans-CN

What I checked

1. The SODA component downloads correctly

~/Library/Application Support/Citro Labs/ego lite/SODA/1.2.5/SODAFiles/libsoda.so      (50 MB)
~/Library/Application Support/Citro Labs/ego lite/SODALanguagePacks/{en-US,ja-JP,cmn-Hans-CN}

Local State has the matching accessibility.captions.soda_*_config_path entries, and a ego Helper --utility-sub-type=media.mojom.SpeechRecognitionService process starts. So the download and registration steps look fine.

2. Likely cause of the Live Caption failure: libsoda.so cannot pass library validation (same class as #365 / #414)

libsoda.so is signed by Google, but the helper process that has to dlopen it is signed by Citro Labs with library validation enforced:

$ codesign -dv ".../SODA/1.2.5/SODAFiles/libsoda.so"
TeamIdentifier=EQHXZ8M8AV            # Google

$ codesign -dv ".../Helpers/ego Helper.app"
flags=0x12a00(kill,restrict,library-validation,runtime)
TeamIdentifier=JGQLC6YQYJ            # Citro Labs

$ codesign -d --entitlements - ".../Helpers/ego Helper.app"
(no entitlements, so no com.apple.security.cs.disable-library-validation)

This is the same setup that #414 showed, with AMFI logs, rejects libwidevinecdm.dylib ("mapping process and mapped file (non-platform) have different Team IDs"). The SpeechRecognitionService utility runs as ego Helper, so it should hit the same rejection when it loads libsoda.so. Result: the recognizer never initializes, and the bubble shows the generic error.

Caveat: I have not yet captured the AMFI Library Validation failed … libsoda.so log line. I couldn't trigger Live Caption from a background Task Space, and the earlier attempts were not being logged. The signing mismatch is confirmed; the rejection itself is inferred from #414.

A possible second factor: the only Google key-like placeholder in ego Framework is dummytoken, the Chromium default for unset API keys. If GOOGLE_SODA_API_KEY was not set at build time, SODA may also refuse to initialize after the load problem is fixed.

3. Live Translate: the built-in Google API key has Cloud Translation disabled

Live Translate calls https://translation.googleapis.com/language/translate/v2. The network path works. Calling it with the Google API key embedded in ego Framework returns:

403 Cloud Translation API has not been used in project 440963955238 before or it is disabled.
Enable it by visiting https://console.developers.google.com/apis/api/translate.googleapis.com/overview?project=440963955238

So even with Live Caption fixed, translation would fail. Also, the settings text says captions are "sent to Citro Labs for translation", but the requests actually go to Google's API.

Expected

Live Caption (and optionally Live Translate) works as it does in Google Chrome. If it can't be supported in ego lite, hide or disable the setting, so users don't get a generic "temporarily unavailable" error with no explanation.

Suggested fixes

  1. Add com.apple.security.cs.disable-library-validation to ego Helper.app (or to the helper variant that hosts SpeechRecognitionService / the CDM). This would also fix #365 / #414.
  2. Build with a valid GOOGLE_SODA_API_KEY if SODA requires one.
  3. Enable Cloud Translation API on project 440963955238, or route Live Translate through your own backend as the settings text describes.