]> sjero.net Git - linphone/commitdiff
Use two threads for video, one in, one out sjero
authorSamuel Jero <sj323707@ohio.edu>
Wed, 6 Mar 2013 18:55:12 +0000 (13:55 -0500)
committerSamuel Jero <sj323707@ohio.edu>
Wed, 6 Mar 2013 18:55:12 +0000 (13:55 -0500)
coreapi/linphonecall.c

index e94c18f199bb10f8202c16d56af91c8a7d973be3..b0760cba4281699fa3aefe5e803842bd75601c8d 100644 (file)
@@ -2047,6 +2047,7 @@ void linphone_call_background_tasks(LinphoneCall *call, bool_t one_second_elapse
                if (call->videostream!=NULL){
                        if (call->videostream->ticker)
                                video_load=ms_ticker_get_average_load(call->videostream->ticker);
+                               video_load+=ms_ticker_get_average_load(call->videostream->ticker2);
                        vs=call->videostream->session;
                }
                report_bandwidth(call,as,vs);