quickvo-sdk-js 0.4.9 → 0.5.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.
@@ -61,16 +61,12 @@ export declare class RoomMedias extends RoomBase {
61
61
  * @returns deviceId 设备ID
62
62
  */
63
63
  getMediaDeviceKind: (mediaDeviceKind: MediaDeviceKind) => string | undefined;
64
- /**
65
- * 替换发射器媒体流
66
- */
67
- replaceSenderStream: (mediaTypes: K_mediaType[] | undefined, isReal: Boolean) => Promise<void>;
68
64
  /**
69
65
  * 设置正在使用的媒体设备
70
66
  * @param mediaDeviceKind 设备类型 "audioinput" | "audiooutput" | "videoinput"
71
67
  * @param deviceId 设备ID
72
68
  */
73
- setMediaDeviceKind: (mediaDeviceKind: MediaDeviceKind, deviceId: string) => Promise<void>;
69
+ setDeviceKind: (mediaDeviceKind: MediaDeviceKind, deviceId: string) => Promise<void>;
74
70
  /**
75
71
  * 设置音频输出设备
76
72
  * @param deviceId 设备ID
@@ -16,6 +16,16 @@ export declare class RoomPeer extends RoomUsers {
16
16
  connectedResolveMap: Map<string, Function>;
17
17
  constructor();
18
18
  initPeer: () => void;
19
+ /**
20
+ * 设置正在使用的媒体设备
21
+ * @param mediaDeviceKind 设备类型 "audioinput" | "audiooutput" | "videoinput"
22
+ * @param deviceId 设备ID
23
+ */
24
+ setMediaDeviceKind: (mediaDeviceKind: MediaDeviceKind, deviceId: string) => Promise<void>;
25
+ /**
26
+ * 替换发射器媒体流
27
+ */
28
+ replaceSenderStream: (mediaTypes: K_mediaType[] | undefined, isReal: Boolean) => Promise<void>;
19
29
  /**
20
30
  * 获取发射器轨道信息
21
31
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quickvo-sdk-js",
3
3
  "description": "提供快捷接入单对单、单对多、群体会议、舞台会议等音视频功能。",
4
- "version": "0.4.9",
4
+ "version": "0.5.1",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"