From ca1ed202cc1f22d876f83b579dd6d4916d6dacba Mon Sep 17 00:00:00 2001 From: On Freund Date: Sat, 2 May 2026 21:38:24 +0300 Subject: [PATCH] Enhance description for `stream/end` message Clarify the conditions under which the `stream/end` message is sent. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 39e8870..84c1208 100644 --- a/README.md +++ b/README.md @@ -408,7 +408,7 @@ Response: [`stream/start`](#server--client-streamstart) for the requested role(s ### Server → Client: `stream/end` -Ends the stream for one or more roles. When received, clients should stop output and clear buffers for the specified roles. +Ends the stream for one or more roles. When received, clients should stop output and clear buffers for the specified roles. This message is expected to be sent when playback is over and the queue is empty, and should not be sent during track changes or seeks. - `roles?`: string[] - roles to end streams for ('player', 'artwork', 'visualizer'). If omitted, ends all active streams