mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
fix for inband dtmf not sent
This commit is contained in:
parent
659ea31d87
commit
b2e014dd94
2 changed files with 7 additions and 3 deletions
|
|
@ -28,6 +28,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
|
||||
#include "mediastreamer2/mscommon.h"
|
||||
|
||||
/*Dirty hack, keep in sync with mediastreamer2/include/mediastream.h */
|
||||
#ifndef PAYLOAD_TYPE_FLAG_CAN_RECV
|
||||
#define PAYLOAD_TYPE_FLAG_CAN_RECV PAYLOAD_TYPE_USER_FLAG_1
|
||||
#define PAYLOAD_TYPE_FLAG_CAN_SEND PAYLOAD_TYPE_USER_FLAG_2
|
||||
#endif
|
||||
struct Sal;
|
||||
|
||||
typedef struct Sal Sal;
|
||||
|
|
@ -345,8 +350,7 @@ int sal_publish(SalOp *op, const char *from, const char *to, SalPresenceStatus s
|
|||
/*ping: main purpose is to obtain its own contact address behind firewalls*/
|
||||
int sal_ping(SalOp *op, const char *from, const char *to);
|
||||
|
||||
#define PAYLOAD_TYPE_FLAG_CAN_RECV PAYLOAD_TYPE_USER_FLAG_1
|
||||
#define PAYLOAD_TYPE_FLAG_CAN_SEND PAYLOAD_TYPE_USER_FLAG_2
|
||||
|
||||
|
||||
#define payload_type_set_number(pt,n) (pt)->user_data=(void*)((long)n);
|
||||
#define payload_type_get_number(pt) ((int)(long)(pt)->user_data)
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 4e1f80ed17226db3afaae21bbb7295f2a20eb55b
|
||||
Subproject commit 0cd097126ba076cdd1d4fff0b5c33549b75bb28a
|
||||
Loading…
Add table
Reference in a new issue