Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion src/AgoraBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ export enum WarnCodeType {
* @ignore
*/
WarnAdmImproperSettings = 1053,
/**
* @ignore
*/
WarnAdmPopState = 1055,
/**
* @ignore
*/
Expand Down Expand Up @@ -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,
}

/**
Expand Down
10 changes: 5 additions & 5 deletions src/IAgoraRtcEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand All @@ -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.
Expand Down Expand Up @@ -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.
Expand Down