LiveClientEventLiveOutputAudioFixturePlayParam interface
Play one complete audio fixture through the session output. Send this event over the primary WebSocket or a server sideband. Audio must be raw mono PCM16 little-endian at 24 kHz, regardless of the session audio format, and at most 30 seconds. The entire payload is validated before model speech is interrupted and input is muted. Only one fixture can be active. fixture.playing acknowledges acceptance and fixture.played reports server mixer drain. These notifications are not exact transport-media boundaries. Input arriving during playback is dropped and not replayed.
- Extends
Properties
| audio | Base64-encoded raw mono PCM16 audio, little-endian, at 24 kHz. Do not include a WAV or other container header. |
| event_id | A client-generated ID used to correlate this command with server events. |
| type | The event type. Always |
Property Details
audio
Base64-encoded raw mono PCM16 audio, little-endian, at 24 kHz. Do not include a WAV or other container header.
audio: string
Property Value
string
event_id
A client-generated ID used to correlate this command with server events.
event_id?: string
Property Value
string
type
The event type. Always session.output_audio.fixture.play.
type: "session.output_audio.fixture.play"
Property Value
"session.output_audio.fixture.play"