Properties
RTCChannelEnded
RTCChannelEnded: [data: string]
RTCChannelError
RTCChannelError: [code: string | number]
connectChannel
connectChannel: []
memberAudioMuteChanged
memberAudioMuteChanged: [data: { memberAccId: string; mute: boolean; operateByAccId: string }]
memberJoinRTCChannel
memberJoinRTCChannel: [accids: string[]]
memberLeaveRTCChannel
memberLeaveRTCChannel: [accids: string[]]
memberScreenShareStateChanged
memberScreenShareStateChanged: [data: { isSharing: boolean; memberAccId: string; operateByAccId: string }]
memberVideoMuteChanged
memberVideoMuteChanged: [data: { memberAccId: string; mute: boolean; operateByAccId: string }]
onRtcAudioVolumeIndication
onRtcAudioVolumeIndication: [data: { serUuid: string; volume: number }[]]
qchatMediaDisconnect
qchatMediaDisconnect: []
systemNotification
system
Notification
: [notificationEvent
: { feature
: "default" | "sync"; systemNotifications
: QChatSystemNotification[] }]
Example:
const instance = new SDK()
instance.on('msg', msg => { console.log(msg) }