Skip to content
Snippets Groups Projects
Commit 9cb58997 authored by Joshua Colp's avatar Joshua Colp Committed by Gerrit Code Review
Browse files

Merge "app_stream_echo: Don't echo declined streams"

parents 1b468b54 0fad11f2
No related branches found
No related tags found
No related merge requests found
...@@ -249,6 +249,11 @@ static struct ast_stream_topology *stream_echo_topology_alloc( ...@@ -249,6 +249,11 @@ static struct ast_stream_topology *stream_echo_topology_alloc(
continue; continue;
} }
if (ast_stream_get_state(stream) == AST_STREAM_STATE_REMOVED) {
/* Don't copy removed/declined streams */
continue;
}
do { do {
stream = ast_stream_clone(stream, NULL); stream = ast_stream_clone(stream, NULL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment