Skip to content

Add interruption events#35

Merged
AHGIJMKLKKZNPJKQR merged 4 commits intomasterfrom
fce-1972
Sep 17, 2025
Merged

Add interruption events#35
AHGIJMKLKKZNPJKQR merged 4 commits intomasterfrom
fce-1972

Conversation

@AHGIJMKLKKZNPJKQR
Copy link
Copy Markdown
Member

@AHGIJMKLKKZNPJKQR AHGIJMKLKKZNPJKQR commented Sep 17, 2025

Added interruption events for agents:

  1. InterruptTrack - cancels a single track

These events aim to allow users to cancel previously sent audio buffers from being played.

Example:

  1. A user starts talking while an agent is talking.
  2. The agent's builtin VAD notices that the user started talking and emits audio.interrupted event, which stops generation of audio.
  3. When handling this event, the agent sends an InterruptTrack event to fishjam on the corresponding track.
  4. Fishjam drops already queued buffers, to prevent them from being played

@linear
Copy link
Copy Markdown

linear Bot commented Sep 17, 2025

@AHGIJMKLKKZNPJKQR AHGIJMKLKKZNPJKQR merged commit 20e4f49 into master Sep 17, 2025
4 checks passed
@AHGIJMKLKKZNPJKQR AHGIJMKLKKZNPJKQR deleted the fce-1972 branch September 17, 2025 17:30
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.

2 participants