]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
only set the not_ready flag on one side on video unbridge
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 31 Jul 2014 18:20:04 +0000 (23:20 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 31 Jul 2014 18:20:04 +0000 (23:20 +0500)
src/switch_ivr_bridge.c

index 5d3060c79784911cce821761fa57276a1f58d580..9c238ff16abac73bc237d87d3e001e5f8994a4f8 100644 (file)
@@ -593,7 +593,7 @@ static void *audio_bridge_thread(switch_thread_t *thread, void *obj)
        if (vid_thread) {
                vh.up = -1;
                switch_channel_set_flag(chan_a, CF_NOT_READY);
-               switch_channel_set_flag(chan_b, CF_NOT_READY);
+               //switch_channel_set_flag(chan_b, CF_NOT_READY);
                switch_core_session_kill_channel(session_a, SWITCH_SIG_BREAK);
                switch_core_session_kill_channel(session_b, SWITCH_SIG_BREAK);
                switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session_a), SWITCH_LOG_DEBUG, "Ending video thread.\n");