Options
mergeGapMs is the one to tune. Natural speech has pauses inside a turn, and without merging
you get one speaker fragmented into a dozen segments.
Diarization inside transcription
For a transcript labelled by speaker rather than a separate segment list, ask the STT namespace instead:Knowing the speaker count helps
maxSpeakers on the STT path, and a sensible threshold here, both improve accuracy a lot
when you know how many people are in the room. Diarization over-segments when left to guess.
Web has no streaming diarizer. Diarize a completed recording, or use the STT path with
diarization: true for live labelling.