fix stopping of streams
This commit is contained in:
parent
a9587acac2
commit
85957b9557
|
@ -375,6 +375,7 @@ static void *SWITCH_THREAD_FUNC read_stream_thread(switch_thread_t *thread, void
|
|||
} else if(source->stop_request) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "local_stream://%s stopped.\n",source->name);
|
||||
source->stopped = 1;
|
||||
goto done;
|
||||
} else {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "local_stream://%s fully reloaded.\n",source->name);
|
||||
launch_streams(source->name);
|
||||
|
|
Loading…
Reference in New Issue