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
ca3536d4
Commit
ca3536d4
authored
Jul 20, 2012
by
Ghislain MARY
Browse files
Fix number of media streams in 200 OK SDP.
parent
6066dbc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
coreapi/sal_eXosip2_sdp.c
coreapi/sal_eXosip2_sdp.c
+2
-1
No files found.
coreapi/sal_eXosip2_sdp.c
View file @
ca3536d4
...
...
@@ -544,6 +544,8 @@ int sdp_to_media_description(sdp_message_t *msg, SalMediaDescription *desc, IceS
ice_dump_candidates
(
ice_session_check_list
(
*
ice_session
,
i
));
}
}
desc
->
nstreams
=
i
;
/* Get ICE remote ufrag and remote pwd */
ice_ufrag
=
ice_pwd
=
NULL
;
for
(
i
=
0
;
(
i
<
SAL_MEDIA_DESCRIPTION_MAX_MESSAGE_ATTRIBUTES
)
&&
((
attr
=
sdp_message_attribute_get
(
msg
,
-
1
,
i
))
!=
NULL
);
i
++
)
{
...
...
@@ -568,6 +570,5 @@ int sdp_to_media_description(sdp_message_t *msg, SalMediaDescription *desc, IceS
ice_dump_session
(
*
ice_session
);
}
}
desc
->
nstreams
=
i
;
return
0
;
}
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