]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8232 #resolve [conference sending too many video refresh req]
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 28 Sep 2015 19:00:37 +0000 (14:00 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 28 Sep 2015 19:00:37 +0000 (14:00 -0500)
src/mod/applications/mod_conference/conference_video.c

index e78aa25700df462f209656f1c960e323ee3b46d9..4e6e00db53bd0f48f02812620ff422a62619a8ba 100644 (file)
@@ -1492,8 +1492,10 @@ void *SWITCH_THREAD_FUNC conference_video_muxing_write_thread_run(switch_thread_
                                        
                                        if (last) {
                                                int delta = now - last;
-                                               if (delta > member->conference->video_fps.ms * 2) {
+                                               if (delta > member->conference->video_fps.ms * 5000) {
+                                                       printf("WTF %d %d\n", delta, member->conference->video_fps.ms * 5000);
                                                        switch_core_session_request_video_refresh(member->session);
+                                                       
                                                }
                                        }