Help Center/ Meeting/ Client SDK Reference/ Electron SDK/ APIs/ Meeting Control Objects/ Subscribing to Meeting End Notifications
Updated on 2024-07-30 GMT+08:00

Subscribing to Meeting End Notifications

Function

A notification is sent when a meeting ended.

Function Prototype

setOnConfEndedNotifyCB(onConfEndedNotify: (confEndInfo: ConfEndInfo) => void): voidsetOnConfEndedNotifyCB(onConfEndedNotify: (confEndInfo: ConfEndInfo) => void): void

Request Parameters

Table 1 Input parameter description
Parameter Mandatory Type Description
onConfEndedNotify Yes (confEndInfo: ConfEndInfo) => void Notifies you when a meeting ended.

Return Values

void

Notification Method Parameters

(confEndInfo: ConfEndInfo) => void

Table 2 Input parameter description
Parameter Type Description
confEndInfo ConfEndInfo Information about the ended meeting.
Table 3 ConfEndInfo
Parameter Type Description
reason ConfEndReason Reason for leaving the meeting.
isP2PConf boolean Whether the meeting is an instant meeting.
Table 4 Enumerated values of ConfEndReason
Enumeration Name Enumerated Value Description
HWM_CONF_END_REASON_LEAVE_CONF_HANGUP 0 The user leaves the meeting.
HWM_CONF_END_REASON_STOP_CONF_HANGUP 1 The meeting has ended.
HWM_CONF_END_REASON_HOST_HANGUP 2 The user is removed by the host.
HWM_CONF_END_REASON_SESSION_TIMER_TIMEOUT 3 Network interrupted.
HWM_CONF_END_REASON_NOSTREAM_HANGUP 4 Network error.
HWM_CONF_END_REASON_CORP_CONFERENCE_RESOURCE_HAS_BEEN_RUN_OUT 5 The amount of enterprise resources has reached the upper limit.
HWM_CONF_END_REASON_CONF_ONLY_SAME_ENTERPRISE 6 Only enterprise users can join the meeting.
HWM_CONF_END_REASON_CONF_ONLY_INVITED 7 Only invited users can join the meeting.
HWM_CONF_END_REASON_CONF_IS_LOCKED 8 The meeting is locked.
HWM_CONF_END_ERR_VMR_NOT_BEEN_HOLD 9 Guests are not allowed to activate the meeting in this cloud meeting room.
HWM_CONF_END_REASON_VMR_CONF_CONFLICT 10 Meetings conflict in this cloud meeting room.
HWM_CONF_END_REASON_SERVER_ERROR 11 Server exception.
HWM_CONF_END_REASON_NUM_OF_PAR_EXCEEDS_UPPER_LIMIT 12 More participants than allowed by the cloud meeting room package.
HWM_CONF_END_REASON_CONF_NUM_OVER_MAX_ALLOWED 111071116 The maximum number of ongoing meetings has been reached.
HWM_CONF_END_REASON_PARTICIPANT_REACH_MAX_NUM 111072504 Maximum number of participants in a single meeting has been reached.
HWM_CONF_END_REASON_PARTICIPANT_CONF_NOT_EXIST 111081002 The meeting does not exist or has ended.
HWM_CONF_END_REASON_CONF_CONFLICT 111111008 Another device has joined this meeting using your account.
HWM_CONF_END_REASON_END_CONF_NET_BREAK 411000100 No stream was received. The network was disconnected.
HWM_CONF_END_REASON_END_EXPIRATION 414100069 Invalid user, enterprise, or SP.
HWM_CONF_END_REASON_SDK_CHAIR_END_CONF 414100074 The host ended the meeting.
HWM_CONF_END_REASON_SDK_TIMEOVER_END_CONF 414100075 The scheduled end time arrived.
HWM_CONF_END_REASON_RTC_SDK_NETWORK_FAILED 990000053 Network error.
HWM_CONF_END_FORCE_OPEN_CAMERA_HANGUP 414100078 The video meeting was forcibly ended.
HWM_CONF_END_MANAGER_SHARE_VMR_NOT_ENOUGH 111071151 No shared cloud meeting rooms are available.
HWM_CONF_END_MANAGER_NO_UPSCALE_VMR 112030001 There are no cloud meeting rooms of higher specifications.
HWM_CONF_END_REASON_OVER_MAX_PARTICIPANT_NUMBER 111072101 More participants than allowed.
HWM_CONF_END_REASON_PROJECTION_FAILED 414100080 Projection failed.
HWM_CONF_END_REASON_PROJECTION_CANCEL 414100082 The large screen canceled the projection during negotiation.
HWM_CONF_END_REASON_PROJECTION_BY_SENDER_WITH_TWO_MEMBERS 414100083 The projection initiator in this two-participant meeting ended the projection.
HWM_CONF_END_REASON_PROJECTION_BY_RECEIVER 414100084 The large screen ended the projection.
HWM_CONF_END_REASON_PROJECTION_BY_SENDER_WITH_MULTI_MEMBERS 414100085 The projection initiator in this multi-participant meeting ended the projection.