quickvo-sdk-js 0.8.1 → 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.
@@ -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
  */
@@ -15,7 +15,6 @@ export declare class RoomPeer extends RoomUsers {
15
15
  };
16
16
  constructor(options: QuickOptions);
17
17
  initPeer: () => void;
18
- getPhoneyStreams: (mediaType: K_mediaType) => MediaStream;
19
18
  /**
20
19
  * 替换发射器媒体流
21
20
  */
@@ -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;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quickvo-sdk-js",
3
3
  "description": "提供快捷接入单对单、单对多、群体会议、舞台会议等音视频功能。",
4
- "version": "0.8.1",
4
+ "version": "0.8.3",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"