@byteplus/rtc 4.65.18 → 4.65.19
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/extension-ainr/index.js +2 -2
- package/extension-ainr/index.umd.js +2 -2
- package/extension-beauty/index.js +2 -2
- package/extension-beauty/index.umd.js +2 -2
- package/index.d.ts +19 -0
- package/index.esm.min.js +2 -2
- package/index.min.js +2 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1765,6 +1765,19 @@ export declare enum USER_ONLINE_STATUS {
|
|
|
1765
1765
|
*/
|
|
1766
1766
|
UNREACHABLE = 2
|
|
1767
1767
|
}
|
|
1768
|
+
export declare enum UserDisconnectionTag {
|
|
1769
|
+
/** 用户正常离房 */
|
|
1770
|
+
userLeave = "userLeave",
|
|
1771
|
+
/** 用户因为断网离房 */
|
|
1772
|
+
connectionLost = "connectionLost",
|
|
1773
|
+
/** 因同userId重复登录房间导致被挤出 */
|
|
1774
|
+
userDuplicateLogin = "userDuplicateLogin",
|
|
1775
|
+
/** 因openAPI接口实现踢人将用户踢出房间 */
|
|
1776
|
+
kickedByAdmin = "kickedByAdmin",
|
|
1777
|
+
roleChanged = "roleChanged",
|
|
1778
|
+
/** 由于token过期离开房间 */
|
|
1779
|
+
onUserTokenDidExpire = "onUserTokenDidExpire"
|
|
1780
|
+
}
|
|
1768
1781
|
|
|
1769
1782
|
/**
|
|
1770
1783
|
* @brief The reason why the remote user left the room
|
|
@@ -7270,6 +7283,12 @@ export interface onUserLeaveEvent {
|
|
|
7270
7283
|
* @brief The reason why the remote user left the room
|
|
7271
7284
|
*/
|
|
7272
7285
|
reason: UserOfflineReason;
|
|
7286
|
+
|
|
7287
|
+
/**
|
|
7288
|
+
* @hidden
|
|
7289
|
+
* @brief The tag to identify the reason why the remote user left the room
|
|
7290
|
+
*/
|
|
7291
|
+
tag?: UserDisconnectionTag;
|
|
7273
7292
|
}
|
|
7274
7293
|
|
|
7275
7294
|
/**
|