May 18, 2021 WeChat Mini Program Development Document
Base library 2.7.0 starts to support, and low versions need to be compatible.
Update your live voice mute settings
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 |