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

WeChat small program API real-time voice update mute settings


May 18, 2021 WeChat Mini Program Development Document


Table of contents


wx.updateVoIPChatMuteConfig(Object object)

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

Update your live voice mute settings

Parameters

Object object

Property Type The default Required Description
muteConfig Object Is Mute settings
success function Whether The interface calls a successful callback function
fail function Whether The interface calls the failed callback function
complete function Whether Callback function at end of interface call (call succeeds, fails are executed)

The structure of object.muteConfig

Property Type The default Required Description
muteMicrophone Boolean false Whether Whether to mute the microphone
muteEarphone Boolean false Whether Whether to mute the headset