Introduce a generic TurnMetricsData class for turn detection metrics, replacing the service-specific SmartTurnMetricsData (now deprecated). Add end-to-end processing time measurement to KrispVivaTurn, tracking the interval from VAD speech-to-silence transition to model threshold crossing. Consume metrics in the strategy _handle_input_audio path so they are pushed immediately when fresh.
265 B
265 B
- Added
TurnMetricsDataas a generic metrics class for turn detection, with e2e processing time measurement.KrispVivaTurnnow emitsTurnMetricsDatawithe2e_processing_time_mstracking the interval from VAD speech-to-silence transition to turn completion.