mirror of
https://github.com/QuentinFuxa/WhisperLiveKit.git
synced 2026-03-07 22:33:36 +00:00
/ws to /asr to distinguish protocol ws:// from endpoint
This commit is contained in:
@@ -92,7 +92,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<label for="websocketInput">WebSocket URL:</label>
|
||||
<input id="websocketInput" type="text" value="ws://localhost:8000/ws" />
|
||||
<input id="websocketInput" type="text" value="ws://localhost:8000/asr" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -105,7 +105,7 @@
|
||||
websocket,
|
||||
recorder,
|
||||
chunkDuration = 1000,
|
||||
websocketUrl = "ws://localhost:8000/ws";
|
||||
websocketUrl = "ws://localhost:8000/asr";
|
||||
|
||||
// Tracks whether the user voluntarily closed the WebSocket
|
||||
let userClosing = false;
|
||||
|
||||
Reference in New Issue
Block a user