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
8e124bc7
Commit
8e124bc7
authored
May 04, 2013
by
Simon Morlat
Browse files
fix ICE problem in belle-sip implementation
parent
27d66925
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
coreapi/bellesip_sal/sal_sdp.c
coreapi/bellesip_sal/sal_sdp.c
+2
-2
No files found.
coreapi/bellesip_sal/sal_sdp.c
View file @
8e124bc7
...
...
@@ -273,7 +273,6 @@ int sdp_to_media_description ( belle_sdp_session_description_t *session_desc, S
int
nb
=
0
;
SalStreamDir
stream_dir
=
SalStreamSendRecv
;
const
char
*
value
;
int
nb_ice_candidates
=
0
;
desc
->
n_active_streams
=
0
;
desc
->
n_total_streams
=
0
;
...
...
@@ -308,6 +307,7 @@ int sdp_to_media_description ( belle_sdp_session_description_t *session_desc, S
for
(
media_desc_it
=
belle_sdp_session_description_get_media_descriptions
(
session_desc
)
;
media_desc_it
!=
NULL
;
media_desc_it
=
media_desc_it
->
next
)
{
int
nb_ice_candidates
=
0
;
media_desc
=
BELLE_SDP_MEDIA_DESCRIPTION
(
media_desc_it
->
data
);
stream
=&
desc
->
streams
[
desc
->
n_total_streams
];
media
=
belle_sdp_media_description_get_media
(
media_desc
);
...
...
@@ -328,7 +328,7 @@ int sdp_to_media_description ( belle_sdp_session_description_t *session_desc, S
}
stream
->
rtp_port
=
belle_sdp_media_get_media_port
(
media
);
stream
->
rtcp_port
=
stream
->
rtp_port
+
1
;
if
(
stream
->
rtp_port
>
0
)
desc
->
n_active_streams
++
;
...
...
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