# wx.updateVoIPChatMuteConfig(Object object)
Start from base library version 2.7.0. Please remaining backward compatible.
with Promise style call: Supported
Mini Program plugin: Support, need to Mini Program base library version no less than 2.9.0
Update live voice mute settings
# parameter
# Object object
attribute | type | Default values | Required | Introductions |
---|---|---|---|---|
muteConfig | Object | yes | Mute Settings | |
success | function | no | Interface calls the successful callback function | |
fail | function | no | Interface calls failed callback functions | |
complete | function | no | Callback function at the end of an interface call (both successful and unsuccessful calls are executed) |
object.muteConfig Structure
attribute | type | Default values | Required | Introductions |
---|---|---|---|---|
muteMicrophone | Boolean | false | no | Mute the microphone |
muteEarphone | Boolean | false | no | Mute headphones |