mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
update oRTP, fix bad error output, and restore UPDATE method in allow header (removed by mistake)
This commit is contained in:
parent
9968ac1b8a
commit
4296c3945c
3 changed files with 5 additions and 4 deletions
|
|
@ -597,7 +597,7 @@ int sal_call_set_local_media_description(SalOp *op, SalMediaDescription *desc){
|
|||
|
||||
static belle_sip_header_allow_t *create_allow(){
|
||||
belle_sip_header_allow_t* header_allow;
|
||||
header_allow = belle_sip_header_allow_create("INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO");
|
||||
header_allow = belle_sip_header_allow_create("INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE");
|
||||
return header_allow;
|
||||
}
|
||||
|
||||
|
|
@ -609,8 +609,8 @@ static void sal_op_fill_invite(SalOp *op, belle_sip_request_t* invite) {
|
|||
belle_sip_message_add_header(BELLE_SIP_MESSAGE(invite),belle_sip_header_create( "Supported", "timer"));
|
||||
}
|
||||
if (op->base.local_media){
|
||||
op->sdp_offering=TRUE;
|
||||
set_sdp_from_desc(BELLE_SIP_MESSAGE(invite),op->base.local_media);
|
||||
op->sdp_offering=TRUE;
|
||||
set_sdp_from_desc(BELLE_SIP_MESSAGE(invite),op->base.local_media);
|
||||
}else op->sdp_offering=FALSE;
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -115,6 +115,7 @@ void linphone_core_set_payload_type_bitrate(LinphoneCore *lc, PayloadType *pt, i
|
|||
pt->flags|=PAYLOAD_TYPE_BITRATE_OVERRIDE;
|
||||
}else{
|
||||
ms_error("Cannot set an explicit bitrate for codec %s/%i, because it is not VBR.",pt->mime_type,pt->clock_rate);
|
||||
return;
|
||||
}
|
||||
}
|
||||
ms_error("linphone_core_set_payload_type_bitrate() payload type not in audio or video list !");
|
||||
|
|
|
|||
2
oRTP
2
oRTP
|
|
@ -1 +1 @@
|
|||
Subproject commit bc9f28beadf9336552eaa091c06bf72fd1d5e491
|
||||
Subproject commit fb53b3dd2bcc5e889f7026bdd42b151ef7217249
|
||||
Loading…
Add table
Reference in a new issue