User-to-user muting in a specified channel
How to mute a user in a specified channel.
Read time 1 minuteLast updated 20 hours ago
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);