]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
send video break on floor change
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 18 Oct 2013 14:14:24 +0000 (19:14 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 18 Oct 2013 14:14:30 +0000 (19:14 +0500)
src/mod/applications/mod_conference/mod_conference.c

index 06677e33cde2e5bcc06dbbf09128f547ac073e6d..a847fb4ea26e1d8ed53095bd5b4cbbe720c42351 100644 (file)
@@ -1657,6 +1657,9 @@ static void conference_set_video_floor_holder(conference_obj_t *conference, conf
                } else {
                        switch_channel_clear_flag(imember->channel, CF_VIDEO_PASSIVE);
                }
+
+               switch_channel_set_flag(imember->channel, CF_VIDEO_BREAK);
+               switch_core_session_kill_channel(imember->session, SWITCH_SIG_BREAK);
                switch_core_session_refresh_video(imember->session);
        }