Subscribing to the Callback of Instant Meeting Records
Function
This API is used to subscribe to the callback of instant meeting records.
Function Prototype
setOnP2PConfRecordNotifyCB(onP2PConfRecordNotify: (recordInfo: P2PConfRecordInfo) => void): voidsetOnP2PConfRecordNotifyCB(onP2PConfRecordNotify: (recordInfo: P2PConfRecordInfo) => void): void
Request Parameters
Parameter | Mandatory | Type | Description |
---|---|---|---|
onP2PConfRecordNotify | Yes | (recordInfo: P2PConfRecordInfo) => void | Callback of instant meeting records. |
Return Values
void
Notification Method Parameters
(recordInfo: P2PConfRecordInfo) => void
Parameter | Type | Description |
---|---|---|
recordInfo | P2PConfRecordInfo | Meeting record information. |
Parameter | Type | Description |
---|---|---|
callerInfo | CallMemberInfo | Caller information. |
calleeInfo | CallMemberInfo | Called participant information. |
startTime | number | Call start time, accurate to seconds (GMT). |
endTime | number | Call end time, accurate to seconds (GMT). |
isCallOut | boolean | Whether the call is an outgoing call. |
mediaType | MediaType | Media type. |
resultCode | For details about SDKERR, see Error Code Reference. | Error code. |
resultMsg | string | Error description. |
isCallEstablished | boolean | Whether the call is connected. |
Parameter | Type | Description |
---|---|---|
number | string | Number. |
nickName | string | Member name. |
thirdUserId | string | Third-party account. |
Enumeration Name | Enumerated Value | Description |
---|---|---|
HWM_MEDIA_TYPE_AUDIO | 0 | Audio. |
HWM_MEDIA_TYPE_VIDEO | 1 | Video. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot