summaryrefslogtreecommitdiffstats
path: root/BrowserSource
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2023-06-26 00:58:58 -0700
committeryum <yum.food.vr@gmail.com>2023-06-26 01:46:42 -0700
commit0ed379f2c99ac5c126a6f101965ef1eaa58c017b (patch)
tree057ea9d58991ab71cd4f6eb4dfb33693f8914e03 /BrowserSource
parente35abb6b9a04c6bebd6875901dbf0671f5cd860d (diff)
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.
Diffstat (limited to 'BrowserSource')
-rw-r--r--BrowserSource/index.html7
1 files changed, 4 insertions, 3 deletions
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;
}
</style>
<body>