From 7960485054f37eb60d63a98231686cef41302a8b Mon Sep 17 00:00:00 2001
From: chenqiyang <1406175257@qq.com>
Date: 星期三, 11 五月 2022 09:13:56 +0800
Subject: [PATCH] 修改部分方法

---
 Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/ortp.framework/Headers/rtp.h |   15 +++------------
 1 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/ortp.framework/Headers/rtp.h b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/ortp.framework/Headers/rtp.h
index 5ba1d5d..3fb3f7c 100755
--- a/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/ortp.framework/Headers/rtp.h
+++ b/Shared.IOS.HDLLinphoneSDK/Shared.IOS.HDLLinphoneSDK/Library/ortp.framework/Headers/rtp.h
@@ -57,12 +57,8 @@
 	uint32_t csrc[16];
 } rtp_header_t;
 
-/* MAX is 15 because we use 1-byte header */
-typedef enum {
-	RTP_EXTENSION_NONE = 0,
-	RTP_EXTENSION_MID = 1,
-	RTP_EXTENSION_MAX = 15
-} rtp_extension_type_t;
+
+
 
 typedef struct rtp_stats
 {
@@ -111,8 +107,7 @@
 
 /* packet api */
 /* the first argument is a mblk_t. The header is supposed to be not splitted  */
-#define rtp_set_markbit(mp,value)	((rtp_header_t*)((mp)->b_rptr))->markbit=(value)
-#define rtp_set_extbit(mp,value)	((rtp_header_t*)((mp)->b_rptr))->extbit=(value)
+#define rtp_set_markbit(mp,value)		((rtp_header_t*)((mp)->b_rptr))->markbit=(value)
 #define rtp_set_seqnumber(mp,seq)	((rtp_header_t*)((mp)->b_rptr))->seq_number=(seq)
 #define rtp_set_timestamp(mp,ts)	((rtp_header_t*)((mp)->b_rptr))->timestamp=(ts)
 #define rtp_set_ssrc(mp,_ssrc)		((rtp_header_t*)((mp)->b_rptr))->ssrc=(_ssrc)
@@ -131,10 +126,6 @@
 
 ORTP_PUBLIC int rtp_get_payload(mblk_t *packet, unsigned char **start);
 ORTP_PUBLIC int rtp_get_extheader(mblk_t *packet, uint16_t *profile, uint8_t **start_ext);
-
-/* Extension header api */
-ORTP_PUBLIC void rtp_add_extension_header(mblk_t *packet, int id, size_t size, uint8_t *data);
-ORTP_PUBLIC int rtp_get_extension_header(mblk_t *packet, int id, uint8_t **data);
 
 #ifdef __cplusplus
 }

--
Gitblit v1.8.0