quickvo-sdk-js 1.4.1 → 1.4.2

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.
@@ -88,7 +88,7 @@ export declare class RoomCalls extends RoomPeer {
88
88
  /**
89
89
  * subscribe
90
90
  * @param userMediaTypes: UserMediaTypes[] = []
91
- * @example quickvo.subscribe([{ userId: '123', mediaTypes: ['mediaTypes', 'microphoneCamera_video'] }])
91
+ * @example quickvo.subscribe([{ userId: '123', mediaTypes: ['microphoneCamera_audio', 'microphoneCamera_video'] }])
92
92
  * @returns Promise<boolean>
93
93
  */
94
94
  subscribe: (userMediaTypes?: UserMediaTypes[]) => Promise<unknown>;
@@ -106,6 +106,8 @@ export declare class RoomUsers extends RoomMedias {
106
106
  getUserTrackByMid: (mid: string) => Promise<UserTrack | undefined>;
107
107
  /**
108
108
  * getUsersMediaTypeBytrackNames
109
+ * @param trackNames string[]
110
+ * @returns [{ userId: '123', mediaTypes: ['mediaTypes', 'microphoneCamera_video'] }]
109
111
  */
110
112
  getUsersMediaTypeBytrackNames: (trackNames: string[]) => Promise<{
111
113
  userId: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quickvo-sdk-js",
3
3
  "description": "提供快捷接入单对单、单对多、群体会议、舞台会议等音视频功能。",
4
- "version": "1.4.1",
4
+ "version": "1.4.2",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -23,7 +23,7 @@
23
23
  "pr-async-queue": "^0.1.3",
24
24
  "pr-audio-stream": "^0.1.1",
25
25
  "pr-nat-type": "^0.1.2",
26
- "pr-tools": "^1.6.0",
26
+ "pr-tools": "^1.6.1",
27
27
  "pr-ws": "^0.3.3",
28
28
  "sdp-transform": "^2.15.0",
29
29
  "webm-duration-fix": "^1.0.4"
@@ -31,7 +31,7 @@
31
31
  "devDependencies": {
32
32
  "protobufjs": "^7.4.0",
33
33
  "typescript": "^5.8.2",
34
- "vite": "^6.2.2",
34
+ "vite": "^7.1.4",
35
35
  "vite-plugin-bundle-obfuscator": "^1.6.0",
36
36
  "vite-plugin-dts": "^4.5.3"
37
37
  },