mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-07-30 16:59:15 +02:00
improvements (no way)
This commit is contained in:
+1
-3
@@ -11,9 +11,7 @@ audio_pipe.on('data', (chunk) => {
|
||||
});
|
||||
|
||||
audio_pipe.on('end', () => {
|
||||
audioWss.clients.forEach((client) => {
|
||||
client.close(1001, "Audio stream ended");
|
||||
});
|
||||
audioWss.clients.forEach((client) => client.close(1001, "Audio stream ended"));
|
||||
});
|
||||
|
||||
storage.websocket_delegation.set("/audio", audioWss);
|
||||
Reference in New Issue
Block a user