Skip to content

RDKEMW-14906 : VAD detector in Control Manager/Voice SDK#186

Open
dwolaver wants to merge 9 commits intodevelopfrom
feature/RDKEMW-14906_stream_voice_activity_detection
Open

RDKEMW-14906 : VAD detector in Control Manager/Voice SDK#186
dwolaver wants to merge 9 commits intodevelopfrom
feature/RDKEMW-14906_stream_voice_activity_detection

Conversation

@dwolaver
Copy link
Copy Markdown
Contributor

No description provided.

@dwolaver dwolaver marked this pull request as ready for review April 3, 2026 19:09
@dwolaver dwolaver requested a review from a team as a code owner April 3, 2026 19:09
Copilot AI review requested due to automatic review settings April 3, 2026 19:09
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds voice activity detection (VAD) support and reporting across Control Manager / Voice SDK, including new session-end signaling for silent utterances and extended voice-session telemetry.

Changes:

  • Extend voice session telemetry marker schema (version bump) and emit VAD-related stats (voice detected / peak confidence / peak RMS).
  • Add a new IPC/session-end result for silent utterances and broadcast it via both legacy IARM and Thunder JSON payloads.
  • Introduce a configurable voice_activity_detection_mode preference and propagate it into XRSR routing (PTT path).

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/voice/telemetry/ctrlm_voice_telemetry_events.h Extends telemetry session struct and stream-end API to carry VAD stats.
src/voice/telemetry/ctrlm_voice_telemetry_events.cpp Emits additional telemetry fields and records VAD stats on stream end.
src/voice/ipc/ctrlm_voice_ipc.h Adds SESSION_END_SILENT_UTTERANCE result type.
src/voice/ipc/ctrlm_voice_ipc_iarm_thunder.cpp Adds Thunder JSON payload support for silent-utterance session end.
src/voice/ipc/ctrlm_voice_ipc_iarm_legacy.cpp Broadcasts a new legacy IARM event for silent sessions.
src/voice/ctrlm_voice_obj.h Adds VAD mode preference and a string-to-XRSR mapping helper.
src/voice/ctrlm_voice_obj.cpp Reads VAD mode from defaults/config/RFC, logs it, and emits silent-utterance IPC; forwards VAD stats to telemetry.
src/voice/ctrlm_voice_obj_generic.cpp Passes configured VAD mode into XRSR route configuration (PTT).
src/telemetry/ctrlm_telemetry_markers.h Updates voice session stats marker documentation and bumps schema version to 3.
src/ctrlm_config_default.json Adds default voice_activity_detection_mode configuration value.
include/ctrlm_ipc.h Adds CTRLM_VOICE_IARM_EVENT_SESSION_SILENT to the main IARM event enum.
include/ctrlm_ipc_voice.h Defines the new silent-session IARM event payload and documents the event.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/voice/telemetry/ctrlm_voice_telemetry_events.h Outdated
Comment thread src/voice/telemetry/ctrlm_voice_telemetry_events.cpp
Comment thread src/telemetry/ctrlm_telemetry_markers.h Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 12 out of 12 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/telemetry/ctrlm_telemetry_markers.h Outdated
Comment thread src/voice/ctrlm_voice_obj.h Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 12 out of 12 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/voice/ctrlm_voice_obj.cpp
Comment thread include/ctrlm_ipc_voice.h
Copy link
Copy Markdown
Contributor

@egalla204 egalla204 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved for test

Comment thread src/voice/ipc/ctrlm_voice_ipc_iarm_legacy.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants