]> sjero.net Git - linphone/commitdiff
Fix ICE gathering candidates for the video stream.
authorGhislain MARY <ghislain.mary@belledonne-communications.com>
Tue, 25 Sep 2012 13:09:15 +0000 (15:09 +0200)
committerGhislain MARY <ghislain.mary@belledonne-communications.com>
Tue, 25 Sep 2012 13:24:02 +0000 (15:24 +0200)
coreapi/linphonecall.c

index 380f07a0c2da170ff4c7c55ec5a176ebc909be18..38ed1de65c4f83fb5cfdb882d999eab4e79a3769 100644 (file)
@@ -1038,7 +1038,7 @@ void linphone_call_init_video_stream(LinphoneCall *call){
                        RtpTransport *vrtcp=lc->rtptf->video_rtcp_func(lc->rtptf->video_rtcp_func_data, call->video_port+1);
                        rtp_session_set_transports(call->videostream->session,vrtp,vrtcp);
                }
-               if ((linphone_core_get_firewall_policy(lc) == LinphonePolicyUseIce) && (call->ice_session != NULL) && (ice_session_check_list(call->ice_session, 1))){
+               if ((linphone_core_get_firewall_policy(lc) == LinphonePolicyUseIce) && (call->ice_session != NULL)){
                        rtp_session_set_pktinfo(call->videostream->session, TRUE);
                        rtp_session_set_symmetric_rtp(call->videostream->session, FALSE);
                        if (ice_session_check_list(call->ice_session, 1) == NULL) {