Skip to content

feat(sdk): injectSay/injectPlay into a room + room verb synonym#12

Merged
davehorton merged 1 commit into
mainfrom
feat/room-say
Jun 19, 2026
Merged

feat(sdk): injectSay/injectPlay into a room + room verb synonym#12
davehorton merged 1 commit into
mainfrom
feat/room-say

Conversation

@davehorton

Copy link
Copy Markdown
Contributor

WebSocket session: injectSay({text, synthesizer?, loop?, stream?, id?, replace?}) and injectPlay({url, id?, replace?}) speak one-shot TTS / play a file-tone into the room the call is in, heard by every member (room:say / room:play inject commands). say-start/say-done/play-start/play-done arrive on the conference verb's statusHook when subscribed; the optional app id correlates them.

Types: RoomVerb (synonym of ConferenceVerb, verb:'room'), a room() builder, UpdateCallRequest.room_say/room_play for REST parity, and the new statusEvents documented on ConferenceVerb. tsc + 117 vitest green.

Note: the room() builder needs @jambonz/schema to publish verbs/room.schema.json before runtime validation accepts it; injectSay/injectPlay (commands, not verbs) need no schema change.

Part of the 'say/play into a Room' feature.

🤖 Generated with Claude Code

WebSocket session: injectSay({text, synthesizer?, loop?, stream?, id?, replace?})
and injectPlay({url, id?, replace?}) speak one-shot TTS / play a file-tone into
the room (conference) the call is in, heard by every member (room:say / room:play
inject commands). say-start/say-done/play-start/play-done arrive on the
conference verb's statusHook when subscribed; the optional app id correlates them.

Types: RoomVerb (a synonym of ConferenceVerb, verb:'room'), a room() verb builder,
UpdateCallRequest.room_say / room_play for REST parity, and the new statusEvents
documented on ConferenceVerb. tsc + vitest green. (The room() builder needs
@jambonz/schema to publish verbs/room.schema.json before runtime validation will
accept it; injectSay/injectPlay need no schema change.)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@davehorton davehorton merged commit 3a00c3a into main Jun 19, 2026
1 check passed
@davehorton davehorton deleted the feat/room-say branch June 19, 2026 13:39
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