@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.
|
@@ -3825,7 +3825,7 @@ registerProcessor('audio_processor', AudioProcessor);
|
|
|
3825
3825
|
};
|
|
3826
3826
|
// Initialize microphone audio capture
|
|
3827
3827
|
await this.wavRecorder.begin();
|
|
3828
|
-
await this.wavRecorder.record(this._handleDataAvailable);
|
|
3828
|
+
await this.wavRecorder.record(this._handleDataAvailable, 1638);
|
|
3829
3829
|
// Set up microphone amplitude monitoring
|
|
3830
3830
|
this._setupAmplitudeMonitoring(this.wavRecorder, this.options.onUserAmplitudeChange, (amp) => (this.userAudioAmplitude = amp));
|
|
3831
3831
|
// Initialize audio player
|