Added _streamLock flag to startStream() that prevents concurrent stream requests when the user clicks play multiple times before the first request completes. Lock is released in finally block so it always clears on success, error, or exception. Previously, rapid clicks would fire multiple stream requests to the backend, each creating a separate audio playback — the only way to stop them was a browser force refresh. |
||
|---|---|---|
| .. | ||
| static | ||
| index.html | ||