Complete history.md with Phase 9: Server Ingest

This commit is contained in:
Adolfo Reyna
2026-02-26 23:06:43 -05:00
parent 1403604ce0
commit 0ea605cc0c

View File

@@ -71,5 +71,12 @@ The project now features a high-performance, Apple Silicon-optimized pipeline th
chmod +x build.sh chmod +x build.sh
./build.sh ./build.sh
``` ```
- **Troubleshooting:** Fixed a runtime `ModuleNotFoundError: No module named 'mlx._reprlib_fix'` by explicitly adding `--collect-all mlx` and `--hidden-import=mlx._reprlib_fix` to the PyInstaller configuration. - **Troubleshooting:** Fixed a runtime `ModuleNotFoundError: No module named 'mlx._reprlib_fix'` by explicitly adding `--collect-all mlx` and `--hidden-import=mlx._reprlib_fix` to the PyInstaller configuration. Also added `multiprocessing.freeze_support()` to fix infinite loops in the compiled binary.
- **Outcome:** A standalone `whisper-transcribe` binary in the `dist/` directory.
## Phase 9: Real-Time Server Ingest
- **Goal:** Send live captions and translations to a central ingest server.
- **Backend:** `https://emiapi.reynafamily.com/live-captions/ingest`.
- **Approach:**
- Implemented a background `ingest_worker` thread to handle HTTP POST requests without stalling the audio processing.
- **Flat JSON Schema:** Used a key-value format as requested (e.g., `original`, `es`, `en`, `fr`).
- **Reliability:** Integrated exponential backoff retries (1s to 15s) to handle network or server failures.