From b1fd9b173161293cf2a740ba81aa1ae1e3a7218d Mon Sep 17 00:00:00 2001 From: James Walker Date: Wed, 18 Jun 2025 16:29:58 +0100 Subject: [PATCH 1/2] Add missing flag for multichannel --- speechmatics/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/speechmatics/client.py b/speechmatics/client.py index 61a2554..dcc6ff6 100644 --- a/speechmatics/client.py +++ b/speechmatics/client.py @@ -306,7 +306,7 @@ async def _stream_channel(self, channel, stream, queue, audio_chunk_size): # seq_no is defaultdict is so the keys are created automatically self.seq_no[channel] += 1 - self._call_middleware(ClientMessageType.AddChannelAudio, message) + self._call_middleware(ClientMessageType.AddChannelAudio, message, False) await queue.put(message) await queue.put(self._end_of_channel(channel)) From f117c70f93899b35dd1bd1e66b6fb7833d537aff Mon Sep 17 00:00:00 2001 From: James Walker Date: Wed, 18 Jun 2025 16:31:52 +0100 Subject: [PATCH 2/2] Update changelog and version --- CHANGELOG.md | 4 ++++ VERSION | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c1be2b..bf2275b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [4.0.5] - 2025-06-18 + +- Added missing flag to call_middleware for multichannel mode. + ## [4.0.4] - 2025-06-09 - Fixed non-multichannel sessions bugging out after adding multichannel support diff --git a/VERSION b/VERSION index 7d666cb..8b2dd6c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.0.4 \ No newline at end of file +4.0.5 \ No newline at end of file