FS-7513: set video pause resume when video is paused in conference

This commit is contained in:
Anthony Minessale 2015-04-30 12:33:21 -05:00 committed by Michael Jerris
parent 33d9b8066b
commit 62f3feca98
1 changed files with 8 additions and 0 deletions

View File

@ -8265,6 +8265,10 @@ static switch_status_t conf_api_sub_vmute(conference_member_t *member, switch_st
switch_clear_flag_locked(member, MFLAG_CAN_BE_SEEN); switch_clear_flag_locked(member, MFLAG_CAN_BE_SEEN);
if (member->channel) {
switch_channel_set_flag(member->channel, CF_VIDEO_PAUSE);
}
if (!(data) || !strstr((char *) data, "quiet")) { if (!(data) || !strstr((char *) data, "quiet")) {
switch_set_flag(member, MFLAG_INDICATE_MUTE); switch_set_flag(member, MFLAG_INDICATE_MUTE);
} }
@ -8317,6 +8321,10 @@ static switch_status_t conf_api_sub_unvmute(conference_member_t *member, switch_
switch_set_flag_locked(member, MFLAG_CAN_BE_SEEN); switch_set_flag_locked(member, MFLAG_CAN_BE_SEEN);
if (member->channel) {
switch_channel_clear_flag(member->channel, CF_VIDEO_PAUSE);
}
if (!(data) || !strstr((char *) data, "quiet")) { if (!(data) || !strstr((char *) data, "quiet")) {
switch_set_flag(member, MFLAG_INDICATE_UNMUTE); switch_set_flag(member, MFLAG_INDICATE_UNMUTE);
} }