trtc-sdk-v5 5.7.1-beta.2 → 5.7.1-beta.5

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
@@ -470,7 +470,8 @@ declare const TRTCEvent: {
470
470
  /**
471
471
  * Remote user enters the room event.
472
472
  *
473
- * - In `live` mode, only the anchor has the notification of entering and leaving the room, and the audience does not have the notification of entering and leaving the room. The audience can receive the notification of entering and leaving the room of the anchor.
473
+ * - In `rtc` mode, all users will receive the notification of entering and exiting the room of the other user.
474
+ * - In `live` mode, only the anchor has the notification of entering and exiting the room, and the audience does not have the notification of entering and exiting the room. The audience can receive the notification of entering and exiting the room of the anchor.
474
475
  * @default 'remote-user-enter'
475
476
  * @memberof module:EVENT
476
477
  * @example
@@ -483,7 +484,8 @@ declare const TRTCEvent: {
483
484
  /**
484
485
  * Remote user exits the room event.
485
486
  *
486
- * - In `live` mode, only the anchor has the notification of entering and leaving the room, and the audience does not have the notification of entering and leaving the room. The audience can receive the notification of entering and leaving the room of the anchor.
487
+ * - In `rtc` mode, all users will receive the notification of entering and exiting the room of the other user.
488
+ * - In `live` mode, only the anchor has the notification of entering and exiting the room, and the audience does not have the notification of entering and exiting the room. The audience can receive the notification of entering and exiting the room of the anchor.
487
489
  * @default 'remote-user-exit'
488
490
  * @memberof module:EVENT
489
491
  * @example
@@ -1759,7 +1761,7 @@ declare interface TRTCEventTypes {
1759
1761
  * | checkResult.detail.isVp8EncodeSupported | boolean | Whether the current browser supports VP8 encoding for uplink |
1760
1762
  * | checkResult.detail.isVp8DecodeSupported | boolean | Whether the current browser supports VP8 decoding for downlink |
1761
1763
  */
1762
- static isSupported(): Promise<any>;
1764
+ static isSupported(): Promise<any> | null;
1763
1765
  /**
1764
1766
  * Returns the list of camera devices
1765
1767
  * <br>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trtc-sdk-v5",
3
- "version": "5.7.1-beta.2",
3
+ "version": "5.7.1-beta.5",
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.7.1-beta.2",
3
+ "version": "5.7.1-beta.5",
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>",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/basic-beauty",
3
- "version": "5.7.1-beta.2",
3
+ "version": "5.7.1-beta.5",
4
4
  "description": "TRTC Web SDK 5.x basic-beauty plugin",
5
5
  "main": "./basic-beauty.esm.js",
6
6
  "author": "longyuqi <longyuqi@tencent.com>",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/beauty",
3
- "version": "5.7.1-beta.2",
3
+ "version": "5.7.1-beta.5",
4
4
  "description": "TRTC Web SDK 5.x beauty plugin",
5
5
  "main": "./beauty.esm.js",
6
6
  "author": "longyuqi <longyuqi@tencent.com>",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/virtual-background",
3
- "version": "5.7.1-beta.2",
3
+ "version": "5.7.1-beta.5",
4
4
  "description": "TRTC Web SDK 5.x virtual background plugin",
5
5
  "main": "./virtual-background.esm.js",
6
6
  "author": "longyuqi <longyuqi@tencent.com>",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtc-plugin/watermark",
3
- "version": "5.7.1-beta.2",
3
+ "version": "5.7.1-beta.5",
4
4
  "description": "TRTC Web SDK 5.x watermark plugin",
5
5
  "main": "./watermark.esm.js",
6
6
  "author": "longyuqi <longyuqi@tencent.com>",