quickvo-sdk-js 0.7.4 → 0.7.7
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/room/RoomCalls.d.ts
CHANGED
|
@@ -7,19 +7,18 @@ export declare class AudioMediaContext {
|
|
|
7
7
|
options: UserAudioFilterOptions;
|
|
8
8
|
kind: "audio";
|
|
9
9
|
stream: MediaStream;
|
|
10
|
-
|
|
10
|
+
inputGain: number;
|
|
11
|
+
outputGain: number;
|
|
11
12
|
enhanceGain: number;
|
|
12
13
|
audio: HTMLAudioElement;
|
|
13
14
|
audioContext: AudioContext;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
delayNode: DelayNode;
|
|
18
|
-
gainNode: GainNode;
|
|
15
|
+
sourceNode: MediaStreamAudioSourceNode | MediaElementAudioSourceNode;
|
|
16
|
+
inputGainNode: GainNode;
|
|
17
|
+
outputGainNode: GainNode;
|
|
19
18
|
analyserNode: AnalyserNode;
|
|
20
19
|
analyserArrayData: Uint8Array;
|
|
21
|
-
constructor(track: MediaStreamTrack);
|
|
22
|
-
|
|
20
|
+
constructor(track: MediaStreamTrack, audioContext: AudioContext);
|
|
21
|
+
initNodes: () => void;
|
|
23
22
|
/**
|
|
24
23
|
* 停止
|
|
25
24
|
*/
|
|
@@ -37,19 +36,15 @@ export declare class AudioMediaContext {
|
|
|
37
36
|
*/
|
|
38
37
|
setMute: (state?: boolean) => void;
|
|
39
38
|
/**
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
setGain: () => void;
|
|
43
|
-
/**
|
|
44
|
-
* 设置增强音量
|
|
39
|
+
* 设置麦克风增强音量
|
|
45
40
|
*/
|
|
46
41
|
setEnhanceGain: (gain: number) => Promise<void>;
|
|
47
42
|
/**
|
|
48
|
-
*
|
|
43
|
+
* 设置扬声器音量
|
|
49
44
|
*/
|
|
50
45
|
setVolumeGain: (gain: number) => void;
|
|
51
46
|
/**
|
|
52
|
-
*
|
|
47
|
+
* 获取输入音量
|
|
53
48
|
*/
|
|
54
49
|
getVolume: () => number;
|
|
55
50
|
/**
|