@byteplus/rtc 4.60.25 → 4.60.27
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 +20 -0
- package/index.esm.min.js +2 -2
- package/index.min.js +2 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1669,6 +1669,19 @@ export declare enum USER_ONLINE_STATUS {
|
|
|
1669
1669
|
*/
|
|
1670
1670
|
UNREACHABLE = 2
|
|
1671
1671
|
}
|
|
1672
|
+
export declare enum UserDisconnectionTag {
|
|
1673
|
+
/** 用户正常离房 */
|
|
1674
|
+
userLeave = "userLeave",
|
|
1675
|
+
/** 用户因为断网离房 */
|
|
1676
|
+
connectionLost = "connectionLost",
|
|
1677
|
+
/** 因同userId重复登录房间导致被挤出 */
|
|
1678
|
+
userDuplicateLogin = "userDuplicateLogin",
|
|
1679
|
+
/** 因openAPI接口实现踢人将用户踢出房间 */
|
|
1680
|
+
kickedByAdmin = "kickedByAdmin",
|
|
1681
|
+
roleChanged = "roleChanged",
|
|
1682
|
+
/** 由于token过期离开房间 */
|
|
1683
|
+
onUserTokenDidExpire = "onUserTokenDidExpire"
|
|
1684
|
+
}
|
|
1672
1685
|
|
|
1673
1686
|
/**
|
|
1674
1687
|
* @brief The reason why the remote user left the room
|
|
@@ -3069,6 +3082,7 @@ export interface IPCKillSwitch {
|
|
|
3069
3082
|
sld_fmtp_sps_add: boolean;
|
|
3070
3083
|
sld_fmtp_bitrate_add: boolean;
|
|
3071
3084
|
sld_fmtp_opus_add: boolean;
|
|
3085
|
+
sld_iceoption_renomination: boolean;
|
|
3072
3086
|
}
|
|
3073
3087
|
|
|
3074
3088
|
/**
|
|
@@ -6075,6 +6089,12 @@ export interface onUserLeaveEvent {
|
|
|
6075
6089
|
* @brief The reason why the remote user left the room
|
|
6076
6090
|
*/
|
|
6077
6091
|
reason: UserOfflineReason;
|
|
6092
|
+
|
|
6093
|
+
/**
|
|
6094
|
+
* @hidden
|
|
6095
|
+
* @brief The tag to identify the reason why the remote user left the room
|
|
6096
|
+
*/
|
|
6097
|
+
tag?: UserDisconnectionTag;
|
|
6078
6098
|
}
|
|
6079
6099
|
|
|
6080
6100
|
/**
|