Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

WeChat small program API real-time voice monitoring call status change events


May 18, 2021 WeChat Mini Program Development Document


Table of contents


wx.onVoIPChatSpeakersChanged(function callback)

Base library 2.7.0 starts to support, and low versions need to be compatible.

Listen for real-time voice call member call status change events. A callback is triggered when a member starts/stops talking

Parameters

function callback

Callback function for call state change events for real-time voice call members

Parameters

Object res
Property Type Description
openIdList Array.<String> OpenId list of members who are also on live voice calls
errCode Number Error code
errMsg String Call result (cause of error)