diff --git a/sdk/ohos/api/libohos_webrtc/webrtc.d.ts b/sdk/ohos/api/libohos_webrtc/webrtc.d.ts index 0e54bef2c022420124e6c1aac979033e5584d3f5..d7a4de89cfeb24c36cd12403342efa5e6601def4 100644 --- a/sdk/ohos/api/libohos_webrtc/webrtc.d.ts +++ b/sdk/ohos/api/libohos_webrtc/webrtc.d.ts @@ -891,7 +891,7 @@ export interface AudioDeviceModuleOptions { rendererUsage?: number; // enable low latency capturing and rendering, default is false - useLowLatency?: number; + useLowLatency?: boolean; // Control if the built-in HW acoustic echo canceler should be used or not, default is false. // It is possible to query support by calling AudioDeviceModule.isBuiltInAcousticEchoCancelerSupported() diff --git a/sdk/ohos/har_hap/ohos_webrtc/src/main/libohos_webrtc/webrtc.d.ts b/sdk/ohos/har_hap/ohos_webrtc/src/main/libohos_webrtc/webrtc.d.ts index 0e54bef2c022420124e6c1aac979033e5584d3f5..d7a4de89cfeb24c36cd12403342efa5e6601def4 100644 --- a/sdk/ohos/har_hap/ohos_webrtc/src/main/libohos_webrtc/webrtc.d.ts +++ b/sdk/ohos/har_hap/ohos_webrtc/src/main/libohos_webrtc/webrtc.d.ts @@ -891,7 +891,7 @@ export interface AudioDeviceModuleOptions { rendererUsage?: number; // enable low latency capturing and rendering, default is false - useLowLatency?: number; + useLowLatency?: boolean; // Control if the built-in HW acoustic echo canceler should be used or not, default is false. // It is possible to query support by calling AudioDeviceModule.isBuiltInAcousticEchoCancelerSupported()