기술 자료

지원

Vivox Core SDK

Vivox Core SDK

Leave a channel

How to remove a player from a Vivox channel and disconnect from communication.
읽는 시간 1분최근 업데이트: 19일 전

To remove a user from a channel, the game sends a
vx_req_sessiongroup_remove_session
message to the Vivox SDK.
The following code displays an example of how to perform this operation:
. . .vx_req_sessiongroup_remove_session *req;vx_req_sessiongroup_remove_session_create(&req);req->sessiongroup_handle = vx_strdup("sg1");req->session_handle = vx_strdup("mychannel");vx_issue_request3(&req->base, &request_count);. . .