@layercode/js-sdk 1.0.23 → 1.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3644,10 +3644,10 @@ registerProcessor('audio_processor', AudioProcessor);
3644
3644
  model: 'v5',
3645
3645
  // baseAssetPath: '/', // Use if bundling model locally
3646
3646
  // onnxWASMBasePath: '/', // Use if bundling model locally
3647
- positiveSpeechThreshold: 0.3,
3648
- negativeSpeechThreshold: 0.2,
3647
+ positiveSpeechThreshold: 0.5,
3648
+ negativeSpeechThreshold: 0.3,
3649
3649
  redemptionFrames: 25, // Number of frames of silence before onVADMisfire or onSpeechEnd is called. Effectively a delay before restarting.
3650
- minSpeechFrames: 5,
3650
+ minSpeechFrames: 25,
3651
3651
  preSpeechPadFrames: 0,
3652
3652
  onSpeechStart: () => {
3653
3653
  // Only pause agent audio if it's currently playing