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.
121 B
121 B
- Deprecated
SmartTurnMetricsDatain favor ofTurnMetricsData.BaseSmartTurnnow emitsTurnMetricsDatadirectly.