]> sjero.net Git - linphone/commitdiff
Callback registering is now useless (use event queues instead).
authorGhislain MARY <ghislain.mary@belledonne-communications.com>
Fri, 20 Jul 2012 12:46:41 +0000 (14:46 +0200)
committerGhislain MARY <ghislain.mary@belledonne-communications.com>
Fri, 20 Jul 2012 12:46:41 +0000 (14:46 +0200)
coreapi/linphonecall.c

index 90f7675ebcdeec5d70faea80d375022a0d8903c5..4f4dd1c60606b8aba06f7dada2f447fdc3f067ea 100644 (file)
@@ -964,7 +964,6 @@ void linphone_call_init_media_streams(LinphoneCall *call){
        if ((linphone_core_get_firewall_policy(lc) == LinphonePolicyUseIce) && (ice_session != NULL)){
                rtp_session_set_pktinfo(audiostream->session, TRUE);
                audiostream->ice_check_list = ice_session_check_list(ice_session, 0);
-               ice_check_list_register_success_cb(audiostream->ice_check_list, audio_stream_set_remote_from_ice, audiostream);
        }
 
        call->audiostream_app_evq = ortp_ev_queue_new();
@@ -989,7 +988,6 @@ void linphone_call_init_media_streams(LinphoneCall *call){
                if ((linphone_core_get_firewall_policy(lc) == LinphonePolicyUseIce) && (ice_session != NULL)){
                        rtp_session_set_pktinfo(call->videostream->session, TRUE);
                        call->videostream->ice_check_list = ice_session_check_list(ice_session, 1);
-                       ice_check_list_register_success_cb(call->videostream->ice_check_list, video_stream_set_remote_from_ice, call->videostream);
                }
                call->videostream_app_evq = ortp_ev_queue_new();
                rtp_session_register_event_queue(call->videostream->session,call->videostream_app_evq);