@lvce-editor/renderer-process 30.44.4 → 30.45.0

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.
@@ -10185,6 +10185,7 @@ const startInputAudioRecorder = (micStream, audioDebugPort) => {
10185
10185
  };
10186
10186
  const startWebRtcAudioStream = async options => {
10187
10187
  const {
10188
+ audioConstraints,
10188
10189
  audioDebugPort,
10189
10190
  elementLocator,
10190
10191
  port,
@@ -10216,7 +10217,7 @@ const startWebRtcAudioStream = async options => {
10216
10217
  }
10217
10218
  };
10218
10219
  const micStream = await navigator.mediaDevices.getUserMedia({
10219
- audio: true
10220
+ audio: audioConstraints ?? true
10220
10221
  });
10221
10222
  const inputAudioRecorder = startInputAudioRecorder(micStream, audioDebugPort);
10222
10223
  if (trackAudioData && audioCtx) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/renderer-process",
3
- "version": "30.44.4",
3
+ "version": "30.45.0",
4
4
  "keywords": [
5
5
  "lvce-editor",
6
6
  "renderer-process"