mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 16:21:01 +00:00
Don't bother decode on muted participants
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1312,10 +1312,10 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c
|
|||||||
user->zapchannel = !retryzap;
|
user->zapchannel = !retryzap;
|
||||||
goto zapretry;
|
goto zapretry;
|
||||||
}
|
}
|
||||||
if (!(confflags & CONFFLAG_MONITOR))
|
if ((confflags & CONFFLAG_MONITOR) || (user->adminflags & ADMINFLAG_MUTED))
|
||||||
f = ast_read(c);
|
|
||||||
else
|
|
||||||
f = ast_read_noaudio(c);
|
f = ast_read_noaudio(c);
|
||||||
|
else
|
||||||
|
f = ast_read(c);
|
||||||
if (!f)
|
if (!f)
|
||||||
break;
|
break;
|
||||||
if ((f->frametype == AST_FRAME_VOICE) && (f->subclass == AST_FORMAT_SLINEAR)) {
|
if ((f->frametype == AST_FRAME_VOICE) && (f->subclass == AST_FORMAT_SLINEAR)) {
|
||||||
|
Reference in New Issue
Block a user