From 0ed379f2c99ac5c126a6f101965ef1eaa58c017b Mon Sep 17 00:00:00 2001 From: yum Date: Mon, 26 Jun 2023 00:58:58 -0700 Subject: Add browser source, hardcoded to port 8097 Transcription output now streams to localhost:8097. In OBS: * Create a browser source. * url: localhost:8097 * width: 2200 * height: 400 TODO: * Put behind toggle. * Create input field for port. Misc cleanup: * transcribe.py: Drop frames from audio capture thread instead of the transcription thread. Doing it the other way would result in occasional data loss. --- BrowserSource/index.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'BrowserSource/index.html') diff --git a/BrowserSource/index.html b/BrowserSource/index.html index 253b9ef..d3ab777 100644 --- a/BrowserSource/index.html +++ b/BrowserSource/index.html @@ -10,11 +10,12 @@ body { font-family: 'Noto Sans Mono', monospace; font-size: 96px; - font-weight: 700; + font-weight: 3200; + color: #000; } #transcript { - color: #fff; - -webkit-text-stroke: 1.0px #000; + color: #89CFF0; + -webkit-text-stroke: 3.0px #000; } -- cgit v1.2.3