文档

​
​

Development

User Acquisition

Monetization

工业

Vivox Core SDK

Vivox Core SDK

此页面不支持所选语言。
Vivox
​
​
Vivox Core SDK
  • Overview
  • Before you begin
  • Get started
    • Integration guide
    • Quick start guide
      • Initializing Vivox
      • Logging in
      • Assign a unique username
      • Generate a login access token
      • Submit a login request
      • Joining and leaving channels
      • Generate and submit a join token
      • Process join responses and events
      • Handle join errors
  • Release notes
  • Developer Guide
  • Reference
  • Privacy overview
  1. Vivox Core SDK documentation

Handle join errors

How to verify your join implementation.
阅读时间1 分钟
最后更新于 8 个月前

To handle join channel errors, expand on the method created to check for a successful join from the Handling login errors.
Check for success:
//success method above else if(evt->state == session_[media|text]_disconnected) { if (evt->status_code == VxErrorSuccess) { printf("Audio/Text Disconnected from %s\n", evt->session_handle); //evaluate the error, if the game client can adjust/respond, adjust and retry //otherwise capture via log for later analysis } else { printf("Audio/Text Disconnected from %s, error %d:%s\n", evt->session_handle,evt->status_code, vx_get_error_string(evt->status_code)); //evaluate the error, if the game client can adjust/respond, adjust and retry //otherwise capture via log for later analysis } }

Verify your join implementation

  1. Implement your channel name crafting code.
  2. Request a token from your token vendor service.
    1. Ensure the token matches the format described in Join token signature.
  3. Craft your issue request with the necessary parameters.
  4. Issue your request.
  5. Confirm with
    vx_resp_sessiongroup_add_session
    that your request is valid.
  6. Confirm that the Vivox service responds with a successful join event by listening to:
    1. vx_evt_media_stream_updated
    2. vx_evt_text_stream_updated
  7. Process the event arguments to confirm success or failure and configure your game client to respond accordingly.
With your join process verified you can now have users log in to your application, join a voice channel and communicate with other players.
To continue to build out your communication system, refer to the documentation and guides in the Vivox Core Developer Guide.

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

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

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

  • 在本页上
    • Verify your join implementation


报告此页面的问题