Interface ICallPlusEventListener
Methods
onRemoteUserInvited
- onRemoteUserInvited(inviteeUserList: string[], inviterUserId: string, callId: string): void
Parameters
inviteeUserList: string[]
inviterUserId: string
callId: string
Returns void
Optional onCallTypeChanged
Optional onRemoteUserStateChanged
Parameters
callId: string
userId: string
Returns void
Optional onRemoteCameraStateChanged
- onRemoteCameraStateChanged(callId: string, userId: string, disabled: boolean): void
Parameters
callId: string
userId: string
disabled: boolean
Returns void
Optional onRemoteMicrophoneStateChanged
- onRemoteMicrophoneStateChanged(callId: string, userId: string, disabled: boolean): void
Parameters
callId: string
userId: string
disabled: boolean
Returns void
Optional onReceivedCallRecord
Optional onReceivedChangeMediaTypeRequest
- onReceivedChangeMediaTypeRequest(userId: string, transactionId: string, mediaType: RCCallPlusMediaType): void
Parameters
userId: string
transactionId: string
Returns void
Optional onReceivedChangeMediaTypeResult
Parameters
userId: string
transactionId: string
Returns void
Optional onReceivedCallStartTime
- onReceivedCallStartTime(info: { callId: string; callType: RCCallPlusType; callStartTime: number }): void
Parameters
info: { callId: string; callType: RCCallPlusType; callStartTime: number }
callId: string
callStartTime: number
Returns void
Optional onReceivedCallFirstFrameTime
- onReceivedCallFirstFrameTime(callId: string, callFirstFrameTime: number): void
Parameters
callId: string
callFirstFrameTime: number
Returns void
Optional onFetchRemoteMediaError
- onFetchRemoteMediaError(userId: string, code: number): void
Parameters
userId: string
code: number
Returns void
Optional onUserAudioLevelChanged
- onUserAudioLevelChanged(userId: string, audioLevel: number): void
Parameters
userId: string
audioLevel: number
Returns void
Optional onReceivedCallPlusSummaryMessage
callPlus 对外事件定义