aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/netif/rtp.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2012-07-07 17:49:07 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2012-07-09 16:58:12 +0200
commit67b988a07799a8b3819bdd9e613206775b826d62 (patch)
treeb451c4624ffd7f123c45f241d9bbd6eb694fc999 /include/osmocom/netif/rtp.h
parenta359315c8b6353e382d093ef45ab426a70d9ac5b (diff)
rtp: add missing RTP_PT_AMR for AMR-WB (type 98) and RTP_PT_GSM_HALF (96)
Diffstat (limited to 'include/osmocom/netif/rtp.h')
-rw-r--r--include/osmocom/netif/rtp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/osmocom/netif/rtp.h b/include/osmocom/netif/rtp.h
index 6888cc3..d0639dd 100644
--- a/include/osmocom/netif/rtp.h
+++ b/include/osmocom/netif/rtp.h
@@ -67,8 +67,12 @@ struct msgb *osmo_rtp_build(struct osmo_rtp_handle *h, uint8_t payload_type, uin
#define RTP_PT_GSM_FULL_PAYLOAD_LEN 33
#define RTP_PT_GSM_FULL_DURATION 160 /* in samples. */
+#define RTP_PT_GSM_HALF 96
+
#define RTP_PT_GSM_EFR 97
#define RTP_PT_GSM_EFR_PAYLOAD_LEN 31
#define RTP_PT_GSM_EFR_DURATION 160 /* in samples. */
+#define RTP_PT_AMR 98
+
#endif