The audio block from BuildAudioBlock, or undefined when nothing was built.
The raw audio value from the open JSON Config bag; untrusted shape.
Whether the session is a meeting (the model must not auto-respond).
OptionaldefaultTurnDetectionType: stringThe provider's own default turn_detection.type (OpenAIRealtimeProfile.defaultTurnDetectionType), if known.
The merged audio block, or undefined when there is neither a built block nor an override.
Merges a raw
audiooverride from the Config bag into the audio block the driver built, so a bag that tunes one leaf (sayturn_detection.idle_timeout_ms) no longer discards the built transcription model, voice, and VAD settings.Rules:
nullleaf in the bag is kept and sent asnull(OpenAI's "off":turn_detection: nullturns VAD off,transcription: nullturns transcription off). Omitting a key keeps the built value. Null leaves inside an object the bag writes onto a non-object or nothing are kept too.builtis returned unchanged.turn_detection.typethat differs from the built one replaces the wholeturn_detectionobject, because fields of one detector kind (e.g.silence_duration_ms) are invalid on another.turn_detectionobject that still has notype(nothing was built, the bag gave none) getsdefaultTurnDetectionTypewhen one is passed: the provider rejects a type-less block.turn_detectionobject getscreate_response: false. An explicitturn_detection: nullis kept (VAD off cannot auto-respond). If the bag nulled or brokeinput, or sent aturn_detectionthat is neither an object nor null, and the built block had aturn_detection, that block is restored with the floor (on the built input wheninputwas clobbered). If the profile built none, nothing is invented and the bag's value stands.Neither argument is mutated.