Updated on 2024-07-30 GMT+08:00

Poor Connection Notification

API Description

A notification is sent when the network connection was poor.

Method Definition
/**
* Reports information about poor network connection.
 *
 * @param poorNetWorkInfo
 */
void onPoorNetworkQualityInfoNotify(PoorNetWorkQualityInfo poorNetWorkInfo);

Parameter Description

Table 1 Parameter description

Parameter

Mandatory

Type

Description

poorNetWorkInfo

Yes

PoorNetWorkQualityInfo

Information about poor network connection.

Return Values

None

Parameter Extension

Table 2 PoorNetWorkQualityInfo description

Parameter

Mandatory

Type

Description

userId

Yes

int

User ID.

nickName

Yes

String

Display name in the meeting.

thirdUserId

Yes

String

Third-party account.

accountId

Yes

String

Account information.

number

No

String

SIP number.

isLocal

Yes

boolean

Whether the participant is the local client user.

audioStatus

No

LowNetWorkStatusInfo

Network status of audio.

videoStatus

No

LowNetWorkStatusInfo

Network status of video.

shareStatus

No

LowNetWorkStatusInfo

Network status of sharing.

Table 3 LowNetWorkStatusInfo description

Parameter

Mandatory

Type

Description

packetLoss

Yes

int

Packet loss rate.

delay

Yes

int

Delay.

jitter

Yes

int

Jitter.

status

No

LowNetWorkStatusInfo

Status.

Table 4 Enumerated values of LowNetWorkStatus

Value

Description

LOW_NET_WORK_STATUS_NORMAL

Normal.

LOW_NET_WORK_STATUS_BAD

Poor.

LOW_NET_WORK_STATUS_VERY_BAD

Very poor.