文档

​
​

Development

User Acquisition

Monetization

工业

Vivox Core SDK

Vivox Core SDK

此页面不支持所选语言。
Vivox
​
​
Vivox Core SDK
  • Overview
  • Before you begin
  • Get started
  • Release notes
  • Developer Guide
  • Reference
    • Access Token Developer Guide
      • Access token terminology
      • Requests that require access tokens
      • Access token identifiers
      • Access token format
      • Access token examples
        • Example: Login token
        • Example: Join token
        • Example: Join_Muted token
        • Example: Kick tokens
        • Example: Drop_All token
        • Example: Mute tokens
        • Example: Mute_All token
        • Example: Transcription token
      • Generate a token on the client
      • Generate a token on a secure server
      • Key update API
      • Override development key generation
      • Access token error codes
    • Server to Server Web API Reference Guide
    • Core API Reference Manual
    • Third-party license information
  • Privacy overview
  1. Vivox Core SDK documentation

Example: Mute_All token

Examples of Mute All tokens that allow muting all users in a channel.
阅读时间3 分钟
最后更新于 7 个月前

  • Signed in user muting all users in a channel
  • Admin user muting all users in a channel
  • Signed in user muting all but one user in a channel (Presentation mode)
  • Admin user muting all but one user in a channel (Presentation mode)
注意
The token format for unmuting all users in a channel is the same as a
mute_all
token.

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
注意
Spacing has been added to this code for demonstration purposes. You can also list claims in any order.
{ "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
注意
Spacing has been added to this code for demonstration purposes. You can also list claims in any order.
{ "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
注意
Spacing has been added to this code for demonstration purposes. You can also list claims in any order.
{ "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
注意
Spacing has been added to this code for demonstration purposes. You can also list claims in any order.
{ "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

Copyright © 2026 Unity Technologies
法律信息隐私政策CookiesDocumentation Terms of Use请勿出售或分享我的个人信息您的隐私选择(Cookie 设置)

“Unity”、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属公司在美国和其他地方的商标或注册商标(此处查看更多信息)。其他名称或品牌是其各自所有者的商标。

为方便起见,一些页面是机器翻译的,可能包含不准确的内容。如有信息不一致的情况,以英文版本为准。

  • 在本页上
    • Signed in user muting all users in a channel

    • Admin user muting all users in a channel

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

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


报告此页面的问题