Merge "app_stream_echo: Don't echo declined streams"

This commit is contained in:
Joshua Colp
2017-09-25 08:00:58 -05:00
committed by Gerrit Code Review

View File

@@ -249,6 +249,11 @@ static struct ast_stream_topology *stream_echo_topology_alloc(
continue;
}
if (ast_stream_get_state(stream) == AST_STREAM_STATE_REMOVED) {
/* Don't copy removed/declined streams */
continue;
}
do {
stream = ast_stream_clone(stream, NULL);