mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
FS-7513: set video pause resume when video is paused in conference
This commit is contained in:
committed by
Michael Jerris
parent
35289d8723
commit
e5f904df35
@@ -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);
|
||||
|
||||
if (member->channel) {
|
||||
switch_channel_set_flag(member->channel, CF_VIDEO_PAUSE);
|
||||
}
|
||||
|
||||
if (!(data) || !strstr((char *) data, "quiet")) {
|
||||
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);
|
||||
|
||||
if (member->channel) {
|
||||
switch_channel_clear_flag(member->channel, CF_VIDEO_PAUSE);
|
||||
}
|
||||
|
||||
if (!(data) || !strstr((char *) data, "quiet")) {
|
||||
switch_set_flag(member, MFLAG_INDICATE_UNMUTE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user