quickvo-sdk-js 1.6.63 → 1.6.71

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.
Files changed (54) hide show
  1. package/dist/chunk-C3ZmwZ-K.js +57 -0
  2. package/dist/favicon.svg +1 -0
  3. package/dist/icons.svg +24 -0
  4. package/dist/index.js +25571 -28002
  5. package/dist/index.umd.cjs +4 -3
  6. package/dist/lib-Cen0reYH.js +11194 -0
  7. package/dist/src/QuickVO.d.ts +15 -25
  8. package/dist/src/action/ActionSFU.d.ts +52 -27
  9. package/dist/src/action/Task.d.ts +40 -0
  10. package/dist/src/base/Base.d.ts +5 -1
  11. package/dist/src/base/modules/Config.d.ts +14 -17
  12. package/dist/src/base/modules/Notifys.d.ts +7 -32
  13. package/dist/src/base/modules/Peer.d.ts +17 -7
  14. package/dist/src/base/modules/cws/CallsWebSocket.d.ts +12 -11
  15. package/dist/src/base/modules/cws/CallsWebSocketEvent.d.ts +6 -6
  16. package/dist/src/base/modules/cws/PrWebSocket.d.ts +7 -6
  17. package/dist/src/base/modules/cws/callLogStorage.d.ts +18 -0
  18. package/dist/src/base/modules/cws/quickvoCodecWorkerMain.d.ts +6 -0
  19. package/dist/src/base/modules/notifyPayloadMap.d.ts +119 -0
  20. package/dist/src/base/modules/users/Users.d.ts +58 -40
  21. package/dist/src/base/modules/users/modules/LocalTrackAnalysis.d.ts +6 -2
  22. package/dist/src/base/modules/users/modules/LocalUser.d.ts +8 -1
  23. package/dist/src/base/modules/users/modules/RemotePeerTrackAnalysis.d.ts +5 -1
  24. package/dist/src/base/modules/users/modules/RemoteUser.d.ts +9 -19
  25. package/dist/src/base/modules/users/modules/RemoteUserP2P.d.ts +15 -3
  26. package/dist/src/base/modules/users/modules/UserBase.d.ts +35 -96
  27. package/dist/src/base/modules/users/webrtcRtcStatsByTrack.d.ts +9 -0
  28. package/dist/src/base/modules/webmDurationFixWorkerMain.d.ts +6 -0
  29. package/dist/src/enums/eventName.d.ts +3 -1
  30. package/dist/src/enums/notifyName.d.ts +2 -1
  31. package/dist/src/index.d.ts +5 -0
  32. package/dist/src/protos/gen/modules/BaseData_pb.d.ts +94 -0
  33. package/dist/src/protos/gen/modules/Room_pb.d.ts +2200 -0
  34. package/dist/src/protos/gen/modules/Rtc_pb.d.ts +70 -0
  35. package/dist/src/protos/index.d.ts +4 -1
  36. package/dist/src/protos/protoCodec.d.ts +19 -0
  37. package/dist/src/protos/protoEvent.d.ts +133 -62
  38. package/dist/src/protos/protoPako.d.ts +4 -0
  39. package/dist/src/tools.d.ts +29 -1
  40. package/dist/src/types.d.ts +42 -68
  41. package/dist/src/workers/cwsCodec/CwsCodecCore.d.ts +7 -0
  42. package/dist/src/workers/cwsCodec/CwsCodecWorker.d.ts +15 -0
  43. package/dist/src/workers/cwsCodec/cwsCodec.worker.d.ts +1 -0
  44. package/dist/src/workers/cwsCodec/type.d.ts +33 -0
  45. package/dist/src/workers/webmFix/WebmFixCore.d.ts +3 -0
  46. package/dist/src/workers/webmFix/WebmFixWorker.d.ts +13 -0
  47. package/dist/src/workers/webmFix/type.d.ts +22 -0
  48. package/dist/src/workers/webmFix/webmDurationFixInterop.d.ts +5 -0
  49. package/dist/src/workers/webmFix/webmFix.worker.d.ts +1 -0
  50. package/package.json +9 -6
  51. package/dist/src/action/PublisherController.d.ts +0 -16
  52. package/dist/src/action/subscriberController.d.ts +0 -15
  53. package/dist/src/protos/compiled.d.ts +0 -8254
  54. package/dist/vite.svg +0 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quickvo-sdk-js",
3
3
  "description": "提供快捷接入单对单、单对多、群体会议、舞台会议等音视频功能。",
4
- "version": "1.6.63",
4
+ "version": "1.6.71",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -16,9 +16,11 @@
16
16
  }
17
17
  },
18
18
  "scripts": {
19
- "build": "tsc && vite build"
19
+ "build": "tsc && vite build",
20
+ "proto:generate": "buf generate"
20
21
  },
21
22
  "dependencies": {
23
+ "@bufbuild/protobuf": "^2.11.0",
22
24
  "pako": "^2.1.0",
23
25
  "pr-async-queue": "^0.1.3",
24
26
  "pr-audio-stream": "^0.2.7",
@@ -27,13 +29,14 @@
27
29
  "pr-tools": "^1.7.2",
28
30
  "pr-ws": "^0.3.3",
29
31
  "sdp-transform": "^3.0.0",
32
+ "vite-plugin-bundle-obfuscator": "^1.11.0",
30
33
  "webm-duration-fix": "^1.0.4"
31
34
  },
32
35
  "devDependencies": {
33
- "protobufjs": "^8.0.0",
34
- "typescript": "^5.9.3",
35
- "vite": "^7.3.1",
36
- "vite-plugin-bundle-obfuscator": "^1.10.0",
36
+ "@bufbuild/buf": "^1.66.1",
37
+ "@bufbuild/protoc-gen-es": "^2.11.0",
38
+ "typescript": "~6.0.2",
39
+ "vite": "^8.0.2",
37
40
  "vite-plugin-dts": "^4.5.4"
38
41
  },
39
42
  "private": false,
@@ -1,16 +0,0 @@
1
- import { K_mediaType } from '../enums';
2
- export declare class PublisherController {
3
- mediaTypes: {
4
- [key in K_mediaType]?: Boolean;
5
- };
6
- private _timeout;
7
- private _timer?;
8
- private _promise?;
9
- private _resolve?;
10
- private _reject?;
11
- exe: () => Promise<void>;
12
- add: (mediaTypes: K_mediaType[]) => Promise<boolean>;
13
- /** 取消待执行的防抖发布,并结束挂起的 publish Promise,避免 await publish 永久悬挂 */
14
- clear: () => void;
15
- getMediaTypes: () => ("mc_audio" | "mc_video" | "ss_video" | "ss_audio")[];
16
- }
@@ -1,15 +0,0 @@
1
- import { K_mediaType } from '../enums';
2
- import { UserMediaTypes } from '../types';
3
- type mediaTypesMap = Map<K_mediaType, boolean>;
4
- export declare class SubscriberController {
5
- usersMediaTypesMap: Map<string, mediaTypesMap>;
6
- private _timeout;
7
- private _timer?;
8
- private _promise?;
9
- private _resolve?;
10
- private _reject?;
11
- exe: () => Promise<void>;
12
- add: (usersMediaTypes: UserMediaTypes[]) => Promise<boolean>;
13
- getUsersMediaTypes: () => UserMediaTypes[];
14
- }
15
- export {};