文档

​
​

Development

User Acquisition

Monetization

工业

Vivox Core SDK

Vivox Core SDK

此页面不支持所选语言。
Vivox
​
​
Vivox Core SDK
  • Overview
  • Before you begin
  • Get started
  • Release notes
  • Developer Guide
    • Client SDK basics
    • Channels
      • Channel name criteria
      • Channel types
      • Echo channels
      • Positional channels
      • Volume differences
      • Channel identifiers for large scale games
      • Participant events
      • Channel webhooks
      • Join a channel
      • Leave a channel
      • Kick a user from a channel
      • Manage session groups
        • Session groups
        • Single session groups
      • Audio injection
      • Methods for setting audio levels
      • Derumbler
      • Automatic connection recovery
    • Presence management
    • Messaging
    • Manage audio
    • Couch co-op
    • Android app development
    • iOS app development
    • macOS app development
    • Windows app development
    • Real-time recording
    • Speech-to-text audio transcription
    • Text-to-speech
    • Troubleshooting
  • Reference
  • Privacy overview
  1. Vivox Core SDK documentation

Session groups

Learn about sessions and session groups.
阅读时间2 分钟
最后更新于 1 个月前

Session groups are a collection of connected channel sessions that a user has joined. The sessions are put into a group to optimize both local and network resources related to those sessions, making it easier to manage relationships between the sessions.
Think of sessions and session groups like phones, not rooms:
  • A session is like a phone handset: it's local to your client and lets you speak and listen in a channel, but it isn't the channel itself, and each participant has their own separate handset dialed into the same conversation.
  • A session group is like a multi-line phone: it lets you manage several sessions at once, joining, muting, or switching which one you're transmitting into, from a single point of control, instead of juggling a separate handset for every channel.
Sessions are local container objects that are unique to your client application. How other participants have set up their own sessions has no bearing on yours; everyone's managing their own phone(s) independently.
注意
When you use the session create command, a session group is automatically created.
A session group enforces a common codec for all participants. This means that all audio transmitted to or from participants in each session in the session group, and any other sessions in the same remote session group as those remote sessions, will share a single negotiated audio codec. The negotiated codec will default to the highest quality codec shared among all clients.

Join multiple channels

You can use session groups to join and manage multiple sessions simultaneously. One example of a user wanting to join multiple channels is in an MMO with different parties, guilds, clans, or other in-game groups. Another example is using a proximity-based channel (3D channel) to talk to others located near you in a virtual world, while also using a non-proximity group channel (2D channel) to keep a specific group of players connected regardless of in-world position.

Transmission modes

Manage user audio across sessions with transmission modes. Transmission modes allow you to determine which channels a user's microphone audio is broadcast into. The following options are available through different requests:
  • Transmit user's voice to all sessions within a group:
    vx_req_sessiongroup_set_tx_all_sessions
    .
  • Transmit the user's voice to a specified session in a group:
    vx_req_sessiongroup_set_tx_session
    .
  • Disable voice transmission to all sessions within a group:
    vx_req_sessiongroup_set_tx_no_session
    .

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

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

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

  • 在本页上
    • Join multiple channels

    • Transmission modes


报告此页面的问题