From fbff78cbfd9c9ffbc58ce534339d5bf032ebb768 Mon Sep 17 00:00:00 2001 From: Aran Moncusi Ramirez Date: Fri, 27 Feb 2026 11:38:00 +0100 Subject: [PATCH 1/2] Log SPEECH_START events in CSR client --- cli-client/helpers/csr_client.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cli-client/helpers/csr_client.py b/cli-client/helpers/csr_client.py index d5ad3c2..037ff5f 100644 --- a/cli-client/helpers/csr_client.py +++ b/cli-client/helpers/csr_client.py @@ -8,6 +8,7 @@ from threading import Timer from concurrent.futures import ThreadPoolExecutor import speechcenter.stt.recognition_streaming_request_pb2 as recognition_streaming_request_pb2 +import speechcenter.stt.recognition_streaming_response_pb2 as recognition_streaming_response_pb2 from helpers.common import split_audio from helpers.audio_importer import AudioImporter @@ -45,6 +46,12 @@ def _start_inactivity_timer(self, inactivity_timeout: float): self._inactivity_timer.start() def _print_result(self, response): + if response.HasField("speech_event"): + event = response.speech_event + if event.type == recognition_streaming_response_pb2.SpeechEvent.Event.SPEECH_START: + logging.info(f"New SPEECH_START event on {event.time_offset}") + return + if not response.HasField("result"): return From eae6e6a6dbe88fc1a2a5e4c70aca117c21675e77 Mon Sep 17 00:00:00 2001 From: Aran Moncusi Ramirez Date: Fri, 27 Feb 2026 11:38:04 +0100 Subject: [PATCH 2/2] Update buf.gen.yaml to use the main branch for public GRPC protos --- buf.gen.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buf.gen.yaml b/buf.gen.yaml index d2e6e12..94afb6b 100644 --- a/buf.gen.yaml +++ b/buf.gen.yaml @@ -11,4 +11,4 @@ plugins: out: proto/generated inputs: - git_repo: https://github.com/verbio-technologies/public-grpc-protos.git - branch: 1.0.1 \ No newline at end of file + branch: main