aliyun-rtc-sdk 7.1.1-beta.2 → 7.1.1
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/aliyun-rtc-sdk.es.js +1173 -1134
- package/dist/aliyun-rtc-sdk.umd.js +11 -11
- package/dist/plugins/audioProcessPlugin.d.ts +15 -0
- package/dist/plugins/audioProcessPlugin.js +15 -15
- package/dist/plugins/beautyPlugin.js +1 -1
- package/dist/plugins/{index-DJR7vMTn.js → index-BvRi8Pnp.js} +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -5483,10 +5483,13 @@ type AudioPluginOptions = {
|
|
|
5483
5483
|
aiaecOn?: boolean;
|
|
5484
5484
|
farMediaStream?: MediaStream;
|
|
5485
5485
|
slsReporter?: SLSReporter;
|
|
5486
|
+
enableSoft3ACheck: boolean;
|
|
5486
5487
|
};
|
|
5487
5488
|
declare class AliRtcAudioProcessPlugin extends AliRtcPlugin {
|
|
5488
5489
|
private audioProcessor?;
|
|
5489
5490
|
private slsReporter?;
|
|
5491
|
+
private enableSoft3ACheck;
|
|
5492
|
+
private lastDiffOutputLog;
|
|
5490
5493
|
private audioContext;
|
|
5491
5494
|
private farNode;
|
|
5492
5495
|
constructor(options?: AudioPluginOptions);
|
|
@@ -5498,6 +5501,18 @@ declare class AliRtcAudioProcessPlugin extends AliRtcPlugin {
|
|
|
5498
5501
|
shouldUpdate(streamInfo: AliRtcLocalStreamInfo): boolean;
|
|
5499
5502
|
private createNode;
|
|
5500
5503
|
process(streamInfo: AliRtcLocalStreamInfo): Promise<void>;
|
|
5504
|
+
/**
|
|
5505
|
+
* 从日志文本中提取diff的值
|
|
5506
|
+
* @param logText 日志
|
|
5507
|
+
* @returns 提取到的diff数值(number类型)或null(未找到时)
|
|
5508
|
+
*/
|
|
5509
|
+
private extractDiffValue;
|
|
5510
|
+
/**
|
|
5511
|
+
* 从日志文本中提取leak的值
|
|
5512
|
+
* @param logText 日志
|
|
5513
|
+
* @returns 提取到的leak数值(number类型)或null(未找到时)
|
|
5514
|
+
*/
|
|
5515
|
+
private extractLeakValue;
|
|
5501
5516
|
clear(streamInfo: AliRtcLocalStreamInfo): void;
|
|
5502
5517
|
dump(): void;
|
|
5503
5518
|
}
|