diff --git a/history.md b/history.md index 597eb02..edddc24 100644 --- a/history.md +++ b/history.md @@ -71,5 +71,12 @@ The project now features a high-performance, Apple Silicon-optimized pipeline th chmod +x 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. -- **Outcome:** A standalone `whisper-transcribe` binary in the `dist/` directory. +- **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. + +## 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.