Commit c648bb9d authored by Guillaume Beraudo's avatar Guillaume Beraudo
Browse files

Implement muting of conference participant.

Usefull to prevent hearing the hold music.
parent 3b80c7b0
......@@ -158,6 +158,10 @@ void ms_audio_conference_remove_member(MSAudioConference *obj, MSAudioEndpoint *
}
void ms_audio_conference_mute_member(MSAudioConference *obj, MSAudioEndpoint *ep, bool_t muted){
MSAudioMixerCtl ctl={0};
ctl.pin=ep->pin;
ctl.param.active=!muted;
ms_filter_call_method(ep->conference->mixer, MS_AUDIO_MIXER_SET_ACTIVE, &ctl);
}
void ms_audio_conference_destroy(MSAudioConference *obj){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment