Documentation

Support

Vivox Unreal SDK

Vivox Unreal SDK

Example: Mute all token

Examples of Mute All tokens that allow muting all users in a channel.
Read time 2 minutesLast updated 2 days ago

Signed in user muting all users in a channel

The token in this example allows the user "beef" to mute all users in the channel "testchannel". The token expiration time is September 17, 2020 at 1:30 PM UTC. The token signing key is "secret!" (not including quotes). header
{}
payload
{ "vxi":19283, "f":"sip:.blindmelon-AppName-dev.beef.@tla.vivox.com", "iss":"blindmelon-AppName-dev", "vxa":"mute", "t":"sip:confctl-g-blindmelon-AppName-dev.testchannel@tla.vivox.com", "exp":1600349400}
access token
e30.eyJ2eGkiOjE5MjgzLCJmIjoic2lwOi5ibGluZG1lbG9uLUFwcE5hbWUtZGV2LmJlZWYuQHRsYS52aXZveC5jb20iLCJpc3MiOiJibGluZG1lbG9uLUFwcE5hbWUtZGV2IiwidnhhIjoibXV0ZSIsInQiOiJzaXA6Y29uZmN0bC1nLWJsaW5kbWVsb24tQXBwTmFtZS1kZXYudGVzdGNoYW5uZWxAdGxhLnZpdm94LmNvbSIsImV4cCI6MTYwMDM0OTQwMH0.fARLW2eX10ZbiIl_5WIg4bhPbYIhn2xfCcUNySfwBMs

Admin user muting all users in a channel

The token in this example allows the user "blindmelon-AppName-dev-Admin" to mute all users in the channel "testchannel". The token expiration time is September 17, 2020 at 1:30 PM UTC. The token signing key is "secret!" (not including quotes). header
{}
payload
{ "vxi":825647, "f":"sip:blindmelon-AppName-dev-Admin@tla.vivox.com", "iss":"blindmelon-AppName-dev", "vxa":"mute", "t":"sip:confctl-g-blindmelon-AppName-dev.testchannel@tla.vivox.com", "exp":1600349400}
access token
e30.eyJ2eGkiOjgyNTY0NywiZiI6InNpcDpibGluZG1lbG9uLUFwcE5hbWUtZGV2LUFkbWluQHRsYS52aXZveC5jb20iLCJpc3MiOiJibGluZG1lbG9uLUFwcE5hbWUtZGV2IiwidnhhIjoibXV0ZSIsInQiOiJzaXA6Y29uZmN0bC1nLWJsaW5kbWVsb24tQXBwTmFtZS1kZXYudGVzdGNoYW5uZWxAdGxhLnZpdm94LmNvbSIsImV4cCI6MTYwMDM0OTQwMH0.zpyvlBbVAKatuCeELb0Q1PsCb4tg0yacneL_sYHIVaw

Signed in user muting all but one user in a channel (Presentation mode)

The token in this example allows the user "beef" to mute all users except for the user "jerky" in the channel "testchannel". The token expiration time is September 17, 2020 at 1:30 PM UTC. The token signing key is "secret!" (not including quotes). In this scenario, when creating the mute token, a subject is specified. The subject in this instance ("jerky") is the only user in the channel that is not muted, which allows them to speak to the other, now muted, users in the channel without interruption. header
{}
payload
{ "vxi":675849, "sub":"sip:.blindmelon-AppName-dev.jerky.@tla.vivox.com", "f":"sip:.blindmelon-AppName-dev.beef.@tla.vivox.com", "iss":"blindmelon-AppName-dev", "vxa":"mute", "t":"sip:confctl-g-blindmelon-AppName-dev.testchannel@tla.vivox.com", "exp":1600349400}
access token
e30.eyJ2eGkiOjY3NTg0OSwic3ViIjoic2lwOi5ibGluZG1lbG9uLUFwcE5hbWUtZGV2Lmplcmt5LkB0bGEudml2b3guY29tIiwiZiI6InNpcDouYmxpbmRtZWxvbi1BcHBOYW1lLWRldi5iZWVmLkB0bGEudml2b3guY29tIiwiaXNzIjoiYmxpbmRtZWxvbi1BcHBOYW1lLWRldiIsInZ4YSI6Im11dGUiLCJ0Ijoic2lwOmNvbmZjdGwtZy1ibGluZG1lbG9uLUFwcE5hbWUtZGV2LnRlc3RjaGFubmVsQHRsYS52aXZveC5jb20iLCJleHAiOjE2MDAzNDk0MDB9.wLlqsQ-r0yCeta5Lil6KU51nfAtt4b1KQ2zJb_jHHjw

Admin user muting all but one user in a channel (Presentation mode)

The token in this example allows the user "blindmelon-AppName-dev-Admin" to mute all users except for the user "jerky" in the channel "testchannel". The token expiration time is September 17, 2020 at 1:30 PM UTC. The token signing key is "secret!" (not including quotes). In this scenario, when creating the mute token, a subject is specified. The subject in this instance ("jerky") is the only user in the channel that is not muted, which allows them to speak to the other, now muted, users in the channel without interruption. header
{}
payload
{ "vxi":961734, "sub":"sip:.blindmelon-AppName-dev.jerky.@tla.vivox.com", "f":"sip:blindmelon-AppName-dev-Admin@tla.vivox.com", "iss":"blindmelon-AppName-dev", "vxa":"mute", "t":"sip:confctl-g-blindmelon-AppName-dev.testchannel@tla.vivox.com", "exp":1600349400}
access token
e30.eyJ2eGkiOjk2MTczNCwic3ViIjoic2lwOi5ibGluZG1lbG9uLUFwcE5hbWUtZGV2Lmplcmt5LkB0bGEudml2b3guY29tIiwiZiI6InNpcDpibGluZG1lbG9uLUFwcE5hbWUtZGV2LUFkbWluQHRsYS52aXZveC5jb20iLCJpc3MiOiJibGluZG1lbG9uLUFwcE5hbWUtZGV2IiwidnhhIjoibXV0ZSIsInQiOiJzaXA6Y29uZmN0bC1nLWJsaW5kbWVsb24tQXBwTmFtZS1kZXYudGVzdGNoYW5uZWxAdGxhLnZpdm94LmNvbSIsImV4cCI6MTYwMDM0OTQwMH0.XWlrqesKd8UnhUwXIJdY1TKPCwh8OdWj5edub7lVyyw