AgoraEduMonitorHandler

The AgoraEduMonitorHandler class contains event callbacks related to SDK monitoring.

onLocalConnectionUpdated

Occurs when the connection between the local client and the Agora server changes.

void onLocalConnectionUpdated(AgoraEduContextConnectionState state)

Parameter

state
The connection state between the local client and the Agora server. See AgoraEduContextConnectionState.

onMediaPacketStatsUpdated

Reports statistics of the media packet.

@objc optional func onMediaPacketStatsUpdated(roomUuid: String,
                                                  stats: FcrMediaPacketStats)
Since
v2.8.60

Parameters

roomUuid
The room ID.
stats
Statistics of the media packet. See FcrMediaPacketStats.

onPerformanceUpdated

Occurs when the performance information updates.

@objc optional func onPerformanceUpdated(info: FcrPerformanceInfo)
Since
v2.8.60

Parameters

info
The performance information. See FcrPerformanceInfo.

onMediaErrorOccurred

Occurs when a media error occurs.

@objc optional func onMediaErrorOccurred(errorCode: Int16)
Since
v2.8.60

Parameters

errorCode
The error code.