trtc-sdk-v5 5.6.2-beta.8 → 5.6.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.
package/index.d.ts CHANGED
@@ -43,6 +43,7 @@ declare interface EnterRoomConfig {
43
43
  autoReceiveAudio?: boolean;
44
44
  autoReceiveVideo?: boolean;
45
45
  privateMapKey?: string;
46
+ latencyLevel?: number;
46
47
  businessInfo?: string;
47
48
  enableAutoPlayDialog?: boolean;
48
49
  proxy?: ProxyServer | string;
@@ -1020,7 +1021,8 @@ declare interface TRTCEventTypes {
1020
1021
  * await trtc.switchRole(TRTC.TYPE.ROLE_ANCHOR, { privateMapKey: 'your new privateMapKey' });
1021
1022
  */
1022
1023
  switchRole(role: UserRole, option?: {
1023
- privateMapKey: string;
1024
+ privateMapKey?: string;
1025
+ latencyLevel?: number;
1024
1026
  }): Promise<void>;
1025
1027
  /**
1026
1028
  * Destroy the TRTC instance <br/>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trtc-sdk-v5",
3
- "version": "5.6.2-beta.8",
3
+ "version": "5.6.2",
4
4
  "description": "Tencent Cloud RTC SDK for Web",
5
5
  "main": "trtc.js",
6
6
  "types": "index.d.ts",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/cdn-streaming",
3
- "version": "5.6.2-beta.8",
3
+ "version": "5.6.2",
4
4
  "description": "TRTC Web SDK 5.x CDN streaming plugin",
5
5
  "main": "./cdn-streaming.esm.js",
6
6
  "author": "longyuqi <longyuqi@tencent.com>",