The turn-detection settings this driver can actually deliver to ElevenLabs (#3534).
MJ's RealtimeTurnDetectionSettings carries four — Mode, Eagerness, Threshold,
SilenceDurationMs — and ElevenLabs can express exactly one. Its TurnConfig has
turnEagerness and nothing corresponding to a server-VAD activation threshold or a trailing
silence duration: turnTimeout is the wait before RE-ENGAGING a silent user, a different
quantity, so mapping SilenceDurationMs onto it would quietly change what the author asked
for. Mode has no analogue — ElevenLabs owns its turn model and does not expose the VAD under it.
Declared rather than left implicit because the alternative — accepting all four and applying
one — is exactly the transmitted-then-discarded defect #3374 and #3859 exist to end. A caller
that needs to know what will survive can ask.
The turn-detection settings this driver can actually deliver to ElevenLabs (#3534).
MJ's RealtimeTurnDetectionSettings carries four —
Mode,Eagerness,Threshold,SilenceDurationMs— and ElevenLabs can express exactly one. ItsTurnConfighasturnEagernessand nothing corresponding to a server-VAD activation threshold or a trailing silence duration:turnTimeoutis the wait before RE-ENGAGING a silent user, a different quantity, so mappingSilenceDurationMsonto it would quietly change what the author asked for.Modehas no analogue — ElevenLabs owns its turn model and does not expose the VAD under it.Declared rather than left implicit because the alternative — accepting all four and applying one — is exactly the transmitted-then-discarded defect #3374 and #3859 exist to end. A caller that needs to know what will survive can ask.