Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
d6424def
Commit
d6424def
authored
Jun 06, 2016
by
Ghislain MARY
Browse files
Little ICE fixes.
parent
5b29f574
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
coreapi/misc.c
coreapi/misc.c
+2
-1
mediastreamer2
mediastreamer2
+1
-1
No files found.
coreapi/misc.c
View file @
d6424def
...
@@ -912,7 +912,7 @@ void _update_local_media_description_from_ice(SalMediaDescription *desc, IceSess
...
@@ -912,7 +912,7 @@ void _update_local_media_description_from_ice(SalMediaDescription *desc, IceSess
if
(
result
==
TRUE
)
{
if
(
result
==
TRUE
)
{
strncpy
(
desc
->
addr
,
rtp_candidate
->
taddr
.
ip
,
sizeof
(
desc
->
addr
));
strncpy
(
desc
->
addr
,
rtp_candidate
->
taddr
.
ip
,
sizeof
(
desc
->
addr
));
}
else
{
}
else
{
ms_warning
(
"If ICE has completed successfully, rtp_
addr
should be set!"
);
ms_warning
(
"If ICE has completed successfully, rtp_
candidate
should be set!"
);
}
}
}
}
else
{
else
{
...
@@ -924,6 +924,7 @@ void _update_local_media_description_from_ice(SalMediaDescription *desc, IceSess
...
@@ -924,6 +924,7 @@ void _update_local_media_description_from_ice(SalMediaDescription *desc, IceSess
SalStreamDescription
*
stream
=
&
desc
->
streams
[
i
];
SalStreamDescription
*
stream
=
&
desc
->
streams
[
i
];
IceCheckList
*
cl
=
ice_session_check_list
(
session
,
i
);
IceCheckList
*
cl
=
ice_session_check_list
(
session
,
i
);
nb_candidates
=
0
;
nb_candidates
=
0
;
rtp_candidate
=
rtcp_candidate
=
NULL
;
if
(
!
sal_stream_description_active
(
stream
)
||
(
cl
==
NULL
))
continue
;
if
(
!
sal_stream_description_active
(
stream
)
||
(
cl
==
NULL
))
continue
;
if
(
ice_check_list_state
(
cl
)
==
ICL_Completed
)
{
if
(
ice_check_list_state
(
cl
)
==
ICL_Completed
)
{
if
(
use_nortpproxy
)
stream
->
set_nortpproxy
=
TRUE
;
if
(
use_nortpproxy
)
stream
->
set_nortpproxy
=
TRUE
;
...
...
mediastreamer2
@
85c5f163
Subproject commit
bdf34ccb02acb99f6ac7996a6d5e625d34dd47cf
Subproject commit
85c5f163f534183eda22cfcefb099bd5c128ee34
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment