Couch co-op configuration
Configure couch co-op for local multiplayer.
阅读时间1 分钟最后更新于 12 天前
Many Vivox API request and event types include an additional
account_handle
To begin a multi-user voice play session, simultaneously sign in multiple users by using the
vx_req_account_anonymous_loginaccount_handle
After multiple users are signed in, you must assign them separate render and capture devices. You can design your game to automatically select these devices, or the game can present a UI to allow users to select their specific devices.
-
To enumerate the list of valid devices, use the and
vx_req_aux_get_render_devicesrequests.vx_req_aux_get_capture_devices -
To set the capture and render devices for each user, you must call and
vx_req_aux_set_render_devicewith each user's account handle to assign specific devices to specific users.vx_req_aux_set_capture_device
account_handlevx_req_session_set_participant_mute_for_me