mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Disable dummy STUN packets sending when ICE is activated.
This commit is contained in:
parent
74c255f360
commit
4c2de4f59a
2 changed files with 6 additions and 5 deletions
|
|
@ -2215,9 +2215,8 @@ static void _linphone_call_prepare_ice_for_stream(LinphoneCall *call, int stream
|
|||
ice_session_add_check_list(call->ice_session, cl, stream_index);
|
||||
ms_message("Created new ICE check list for stream [%i]",stream_index);
|
||||
}
|
||||
if (cl){
|
||||
ms->ice_check_list = cl;
|
||||
ice_check_list_set_rtp_session(ms->ice_check_list, ms->sessions.rtp_session);
|
||||
if (cl) {
|
||||
media_stream_set_ice_check_list(ms, cl);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -4401,7 +4400,9 @@ void linphone_call_handle_stream_events(LinphoneCall *call, int stream_index){
|
|||
|
||||
if (ms){
|
||||
/* Ensure there is no dangling ICE check list. */
|
||||
if (call->ice_session == NULL) ms->ice_check_list = NULL;
|
||||
if (call->ice_session == NULL) {
|
||||
media_stream_set_ice_check_list(ms, NULL);
|
||||
}
|
||||
|
||||
switch(ms->type){
|
||||
case MSAudio:
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit bcd3042a1984088a78a7517774300b0a6647506d
|
||||
Subproject commit 5bf8cb0768e7f4ef78e1cac27e365602fc00648e
|
||||
Loading…
Add table
Reference in a new issue