Symptoms:
The Vivox SDK status code 20000 ("XMPP unknown error") can occur in two different scenarios when failing to successfully mute a user.
Cause:
Status code 20000 will occur if one of the following conditions is true when the mute request is processed:
- In all Vivox SDKs: The channel participant target of the mute operation is no longer in the channel.
- In Unity/Unreal SDK: You tried to mute a user in a text-only channel.
- In Core SDK: You tried to mute a user in a text-only channel using a
vx_mute_scope
other thanmute_scope_text
.
Resolution:
- When connected to channel for audio (or audio + text), your application should treat status code 20000 resulting from a channel participant mute request as a success: the target user is no longer in the channel, so their mute status is no longer relevant.
- In Unity/Unreal SDK: Muting users in a text-only channel is not possible.
- In Core SDK: When muting a user in a text-only channel, ensure you set the request field
vx_mute_scope scope
to a value ofmute_scope_text
.