@lvce-editor/api 9.27.1 → 9.28.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.
package/dist/index.d.ts CHANGED
@@ -60,4 +60,4 @@ export type { RegisteredSourceControlProvider, SourceControlProvider, SourceCont
60
60
  export type { ShowQuickPickOptions } from './parts/ShowQuickPickOptions/ShowQuickPickOptions.ts';
61
61
  export type { StatusBarItem, StatusBarItemProvider, StatusBarItemProviderHandle, StatusBarItemProviderRegistrySnapshot, } from './parts/StatusBar/StatusBar.ts';
62
62
  export { setRemoteDescription, startWebRtcAudioStream, stopWebRtcAudioStream, readMicLevels } from './parts/WebRtc/WebRtc.ts';
63
- export type { SetRemoteDescriptionOptions, StartWebRpcAudioStreamOptions, MicLevelsResult, ReadMicLevelOptions } from './parts/WebRtc/WebRtc.ts';
63
+ export type { MicLevelsResult, ReadMicLevelOptions, SetRemoteDescriptionOptions, StartWebRpcAudioStreamOptions, WebRtcAudioConstraints, } from './parts/WebRtc/WebRtc.ts';
@@ -1,4 +1,10 @@
1
+ export interface WebRtcAudioConstraints {
2
+ readonly autoGainControl?: boolean;
3
+ readonly echoCancellation?: boolean;
4
+ readonly noiseSuppression?: boolean;
5
+ }
1
6
  export interface StartWebRpcAudioStreamOptions {
7
+ readonly audioConstraints?: WebRtcAudioConstraints;
2
8
  readonly audioDebugPort?: MessagePort;
3
9
  readonly elementLocator: string;
4
10
  readonly ephemeralKey: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/api",
3
- "version": "9.27.1",
3
+ "version": "9.28.0",
4
4
  "description": "Tree-shakeable extension API for Lvce Editor extensions.",
5
5
  "keywords": [
6
6
  "lvce-editor",