@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.
@@ -3638,10 +3638,10 @@ class LayercodeClient {
3638
3638
  model: 'v5',
3639
3639
  // baseAssetPath: '/', // Use if bundling model locally
3640
3640
  // onnxWASMBasePath: '/', // Use if bundling model locally
3641
- positiveSpeechThreshold: 0.3,
3642
- negativeSpeechThreshold: 0.2,
3641
+ positiveSpeechThreshold: 0.5,
3642
+ negativeSpeechThreshold: 0.3,
3643
3643
  redemptionFrames: 25, // Number of frames of silence before onVADMisfire or onSpeechEnd is called. Effectively a delay before restarting.
3644
- minSpeechFrames: 5,
3644
+ minSpeechFrames: 25,
3645
3645
  preSpeechPadFrames: 0,
3646
3646
  onSpeechStart: () => {
3647
3647
  // Only pause agent audio if it's currently playing