@layercode/js-sdk 1.0.16 → 1.0.17
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.
|
@@ -3819,7 +3819,7 @@ class LayercodeClient {
|
|
|
3819
3819
|
};
|
|
3820
3820
|
// Initialize microphone audio capture
|
|
3821
3821
|
await this.wavRecorder.begin();
|
|
3822
|
-
await this.wavRecorder.record(this._handleDataAvailable);
|
|
3822
|
+
await this.wavRecorder.record(this._handleDataAvailable, 1638);
|
|
3823
3823
|
// Set up microphone amplitude monitoring
|
|
3824
3824
|
this._setupAmplitudeMonitoring(this.wavRecorder, this.options.onUserAmplitudeChange, (amp) => (this.userAudioAmplitude = amp));
|
|
3825
3825
|
// Initialize audio player
|