quickvo-sdk-js 0.8.2 → 0.8.3
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.js +177 -176
- package/dist/index.umd.cjs +2 -2
- package/dist/room/RoomBase.d.ts +3 -0
- package/dist/room/RoomPeer.d.ts +0 -1
- package/dist/room/mediaStreams/AudioMediaContext.d.ts +2 -1
- package/dist/tools.d.ts +1 -1
- package/package.json +1 -1
package/dist/room/RoomBase.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export declare class RoomBase {
|
|
|
20
20
|
transceiverMap: Map<"microphoneCamera_audio" | "microphoneCamera_video" | "screenSharing_video" | "screenSharing_audio", RTCRtpTransceiver>;
|
|
21
21
|
userMap: Map<string, RoomUser>;
|
|
22
22
|
setLocalStreamActiveMap: Map<K_mediaType, Boolean>;
|
|
23
|
+
phoneyStreams: Map<K_mediaType, MediaStream>;
|
|
23
24
|
mediaDevicesErrInfo: {
|
|
24
25
|
microphoneCamera_audio: string;
|
|
25
26
|
microphoneCamera_video: string;
|
|
@@ -31,6 +32,8 @@ export declare class RoomBase {
|
|
|
31
32
|
* 提交日志
|
|
32
33
|
*/
|
|
33
34
|
reportLogs: (_type: Report_Log_Type, describe?: string) => void;
|
|
35
|
+
initPhoneyStreams: (audioContext: AudioContext) => void;
|
|
36
|
+
getPhoneyStreams: (mediaType: K_mediaType) => MediaStream;
|
|
34
37
|
/**
|
|
35
38
|
* 获取房间信息
|
|
36
39
|
*/
|
package/dist/room/RoomPeer.d.ts
CHANGED
|
@@ -14,9 +14,10 @@ export declare class AudioMediaContext {
|
|
|
14
14
|
audioContext: AudioContext;
|
|
15
15
|
sourceNode: MediaStreamAudioSourceNode;
|
|
16
16
|
inputGainNode: GainNode;
|
|
17
|
-
outputGainNode: GainNode;
|
|
18
17
|
analyserNode: AnalyserNode;
|
|
19
18
|
analyserArrayData: Uint8Array;
|
|
19
|
+
outputGainNode: GainNode;
|
|
20
|
+
destinationNode: MediaStreamAudioDestinationNode;
|
|
20
21
|
constructor(track: MediaStreamTrack, audioContext: AudioContext);
|
|
21
22
|
initNodes: () => void;
|
|
22
23
|
/**
|
package/dist/tools.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const createMutedAudioStream: () => MediaStream;
|
|
1
|
+
export declare const createMutedAudioStream: (audioContext: AudioContext) => MediaStream;
|
|
2
2
|
export declare const createFakeVideoStream: (width?: number, height?: number, fps?: number) => MediaStream;
|