[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Linphone-developers] Linphone "forgets" the fmtp options in the sdp
From: |
damico |
Subject: |
Re: [Linphone-developers] Linphone "forgets" the fmtp options in the sdp response |
Date: |
Tue, 09 Sep 2008 09:07:50 +0200 |
User-agent: |
Mozilla-Thunderbird 2.0.0.9 (X11/20080110) |
Sorry,
I forgot the patch....
### Eclipse Workspace Patch 1.0
#P linphone_upstream
Index: coreapi/exevents.c
===================================================================
RCS file: /sources/linphone/linphone/coreapi/exevents.c,v
retrieving revision 1.62
diff -u -r1.62 exevents.c
--- coreapi/exevents.c 31 Aug 2008 20:49:46 -0000 1.62
+++ coreapi/exevents.c 9 Sep 2008 07:06:53 -0000
@@ -590,8 +590,9 @@
payload->b_as_bandwidth=(dbw>0) ? dbw : 0;
if (payload->a_fmtp!=NULL){
payload_type_set_send_fmtp(rtppayload,payload->a_fmtp);
+ }else{
+ payload->a_fmtp=rtppayload->recv_fmtp;
}
- payload->a_fmtp=rtppayload->recv_fmtp;
if (payload->a_ptime>0){
char tmp[30];
snprintf(tmp,sizeof(tmp),"ptime=%i",payload->a_ptime);