Skip to content

FCE-3579: voice activity detection as a high-frequency channel - #598

Open
MiloszFilimowski wants to merge 1 commit into
tsunami/11-data-channel-statefrom
tsunami/12-vad-channel
Open

FCE-3579: voice activity detection as a high-frequency channel#598
MiloszFilimowski wants to merge 1 commit into
tsunami/11-data-channel-statefrom
tsunami/12-vad-channel

Conversation

@MiloszFilimowski

@MiloszFilimowski MiloszFilimowski commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Stacked on #597.

Description

  • VoiceActivityMonitor: polls getLocalTrackAudioLevel and notifies through direct callbacks, bypassing the store — VAD fires tens of times per second and would defeat structural sharing if routed through ClientState.
  • react-client's useVAD / useLocalVAD consume the monitor; useLocalVAD's own polling body is deleted.

Motivation and Context

The high-frequency signal channel from RFC 0015 §3 (FCE-3579): the store is for renderable state, high-frequency signals get a direct path.

Documentation impact

  • Documentation update required
  • Documentation updated in another PR
  • No documentation update required

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to
    not work as expected)

VoiceActivityMonitor polls getLocalTrackAudioLevel and notifies through
direct callbacks, bypassing the store — VAD fires tens of times per second
and would defeat structural sharing if routed through ClientState.
react-client's useVAD/useLocalVAD consume the monitor; useLocalVAD's
polling body is deleted.
@MiloszFilimowski MiloszFilimowski changed the title tsunami: voice activity detection as a high-frequency channel FCE-3579: voice activity detection as a high-frequency channel Aug 11, 2026
@linear

linear Bot commented Aug 11, 2026

Copy link
Copy Markdown

FCE-3579

@MiloszFilimowski
MiloszFilimowski marked this pull request as ready for review August 11, 2026 09:35
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.

1 participant