mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-03 11:49:31 +00:00
fix bandwidths
This commit is contained in:
parent
e487df8d7d
commit
8a03d2340a
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ static void add_line(sdp_message_t *msg, int lineno, const SalStreamDescription
|
|||
sdp_message_m_media_add (msg, osip_strdup (mt),
|
||||
int_2char (port), NULL,
|
||||
osip_strdup ("RTP/AVP"));
|
||||
sdp_message_b_bandwidth_add (msg, lineno, osip_strdup ("AS"),
|
||||
if (desc->bandwidth>0) sdp_message_b_bandwidth_add (msg, lineno, osip_strdup ("AS"),
|
||||
int_2char(desc->bandwidth));
|
||||
for(elem=desc->payloads;elem!=NULL;elem=elem->next){
|
||||
add_payload(msg, lineno, (PayloadType*)elem->data);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue