diff --git a/src/AgoraBase.ts b/src/AgoraBase.ts index d741de7d1..1fd66b999 100644 --- a/src/AgoraBase.ts +++ b/src/AgoraBase.ts @@ -148,6 +148,10 @@ export enum WarnCodeType { * @ignore */ WarnAdmImproperSettings = 1053, + /** + * @ignore + */ + WarnAdmPopState = 1055, /** * @ignore */ @@ -2018,10 +2022,18 @@ export enum AudioScenarioType { * 8: Meeting scenario that mainly contains the human voice. */ AudioScenarioMeeting = 8, + /** + * @ignore + */ + AudioScenarioAiServer = 9, + /** + * @ignore + */ + AudioScenarioAiClient = 10, /** * The number of enumerations. */ - AudioScenarioNum = 9, + AudioScenarioNum = 11, } /** diff --git a/src/IAgoraRtcEngine.ts b/src/IAgoraRtcEngine.ts index 9a4d336a3..0954a6b63 100644 --- a/src/IAgoraRtcEngine.ts +++ b/src/IAgoraRtcEngine.ts @@ -1639,7 +1639,7 @@ export interface IRtcEngineEventHandler { /** * Occurs when the remote video stream state changes. * - * This callback does not work properly when the number of users (in the communication profile) or hosts (in the live streaming channel) in a channel exceeds 17. + * This callback does not work properly when the number of users (in the communication profile) or hosts (in the live streaming channel) in a channel exceeds 32. * * @param connection The connection information. See RtcConnection. * @param remoteUid The ID of the remote user whose video state changes. @@ -1678,7 +1678,7 @@ export interface IRtcEngineEventHandler { * Occurs when a remote user (in the communication profile)/ host (in the live streaming profile) joins the channel. * * In a communication channel, this callback indicates that a remote user joins the channel. The SDK also triggers this callback to report the existing users in the channel when a user joins the channel. - * In a live-broadcast channel, this callback indicates that a host joins the channel. The SDK also triggers this callback to report the existing hosts in the channel when a host joins the channel. Agora recommends limiting the number of hosts to 17. + * In a live-broadcast channel, this callback indicates that a host joins the channel. The SDK also triggers this callback to report the existing hosts in the channel when a host joins the channel. Agora recommends limiting the number of co-hosts to 32, with a maximum of 17 video hosts. * * @param connection The connection information. See RtcConnection. * @param remoteUid The ID of the user or host who joins the channel. @@ -1710,7 +1710,7 @@ export interface IRtcEngineEventHandler { /** * Occurs when a remote user (in the communication profile) or a host (in the live streaming profile) stops/resumes sending the audio stream. * - * The SDK triggers this callback when the remote user stops or resumes sending the audio stream by calling the muteLocalAudioStream method. This callback does not work properly when the number of users (in the communication profile) or hosts (in the live streaming channel) in a channel exceeds 17. + * The SDK triggers this callback when the remote user stops or resumes sending the audio stream by calling the muteLocalAudioStream method. This callback does not work properly when the number of users (in the communication profile) or hosts (in the live streaming channel) in a channel exceeds 32. * * @param connection The connection information. See RtcConnection. * @param remoteUid The user ID. @@ -1725,7 +1725,7 @@ export interface IRtcEngineEventHandler { /** * Occurs when a remote user stops or resumes publishing the video stream. * - * When a remote user calls muteLocalVideoStream to stop or resume publishing the video stream, the SDK triggers this callback to report to the local user the state of the streams published by the remote user. This callback can be inaccurate when the number of users (in the communication profile) or hosts (in the live streaming profile) in a channel exceeds 17. + * When a remote user calls muteLocalVideoStream to stop or resume publishing the video stream, the SDK triggers this callback to report to the local user the state of the streams published by the remote user. This callback can be inaccurate when the number of users (in the communication profile) or hosts (in the live streaming profile) in a channel exceeds 32. * * @param connection The connection information. See RtcConnection. * @param remoteUid The user ID of the remote user. @@ -2090,7 +2090,7 @@ export interface IRtcEngineEventHandler { /** * Occurs when the remote audio state changes. * - * When the audio state of a remote user (in a voice/video call channel) or host (in a live streaming channel) changes, the SDK triggers this callback to report the current state of the remote audio stream. This callback does not work properly when the number of users (in the communication profile) or hosts (in the live streaming channel) in a channel exceeds 17. + * When the audio state of a remote user (in a voice/video call channel) or host (in a live streaming channel) changes, the SDK triggers this callback to report the current state of the remote audio stream. This callback does not work properly when the number of users (in the communication profile) or hosts (in the live streaming channel) in a channel exceeds 32. * * @param connection The connection information. See RtcConnection. * @param remoteUid The ID of the remote user whose audio state changes.