quickvo-sdk-js 0.5.5 → 0.5.6

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.
@@ -12,7 +12,7 @@ export declare class RoomCalls extends RoomPeer {
12
12
  * @example quickvo.setLocalStream('microphoneCamera_audio', false)
13
13
  * @returns Promise<Streams>
14
14
  */
15
- setLocalStream: (mediaType: K_mediaType, active: boolean) => Promise<Streams>;
15
+ setLocalStream: (mediaTypes: K_mediaType[], active: boolean) => Promise<Streams>;
16
16
  /**
17
17
  * 设置正在使用的媒体设备
18
18
  * @param mediaDeviceKind 设备类型 "audioinput" | "audiooutput" | "videoinput"
@@ -52,7 +52,7 @@ export declare class RoomMedias extends RoomBase {
52
52
  /**
53
53
  * 初始化本地流
54
54
  */
55
- initLocalStream: (mediaType: K_mediaType) => Promise<void>;
55
+ initLocalStream: (mediaType: K_mediaType | "microphoneCamera" | "screenSharing") => Promise<void>;
56
56
  /**
57
57
  * 获取正在使用的媒体设备ID
58
58
  * @param mediaDeviceKind 设备类型 "audioinput" | "audiooutput" | "videoinput"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quickvo-sdk-js",
3
3
  "description": "提供快捷接入单对单、单对多、群体会议、舞台会议等音视频功能。",
4
- "version": "0.5.5",
4
+ "version": "0.5.6",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"