User-to-user muting in a specified channel
How to mute a user in a specified channel.
阅读时间1 分钟最后更新于 12 天前
To mute a user in a specified channel, use the
vx_req_session_set_participant_mute_for_mevx_req_session_set_participant_mute_for_me_t* reqStruct;vx_req_session_set_participant_mute_for_me_create(&reqStruct);reqStruct->session_handle = vx_strdup(“session handle”);reqStruct->participant_uri = vx_strdup(“sip:.participant.@realm.vivox.com”); // Use SIP URI formatreqStruct->mute = 1; // 1 - mute, 0 - unmutereqStruct->reqStruct->scope = mute_scope_all;int ret = vx_issue_request3((vx_req_base_t*) reqStruct);