mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
FS-7656 skip main file as well as chime file when hup is called during chime
This commit is contained in:
parent
4980389bc0
commit
f107ea54a8
@ -358,10 +358,10 @@ static void *SWITCH_THREAD_FUNC read_stream_thread(switch_thread_t *thread, void
|
||||
flush_video_queue(source->video_q);
|
||||
if (use_fh == &source->chime_fh) {
|
||||
source->chime_counter = source->rate * source->chime_freq;
|
||||
switch_core_file_close(&fh);
|
||||
use_fh = &fh;
|
||||
goto retry;
|
||||
//switch_core_file_close(&fh);
|
||||
}
|
||||
goto retry;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user