diff options
author | Pablo Neira Ayuso <pablo@gnumonks.org> | 2012-07-07 17:53:16 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-07-09 16:58:46 +0200 |
commit | 93b16cb87132313f963cc75576b7904f3aa46ff2 (patch) | |
tree | 3faecd332dbe6f9fff621c8664e4d9079ded068d /include/osmocom/netif/rtp.h | |
parent | 67b988a07799a8b3819bdd9e613206775b826d62 (diff) |
rtp: add RTP_PT_RTCP (72-76 for RTCP)
As specified by RFC 3551, these are reserved to distinguish
RCTP from RTP.
Diffstat (limited to 'include/osmocom/netif/rtp.h')
-rw-r--r-- | include/osmocom/netif/rtp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/netif/rtp.h b/include/osmocom/netif/rtp.h index d0639dd..9766e8f 100644 --- a/include/osmocom/netif/rtp.h +++ b/include/osmocom/netif/rtp.h @@ -63,6 +63,8 @@ void *osmo_rtp_get_payload(struct rtp_hdr *rtph, struct msgb *msg); struct msgb *osmo_rtp_build(struct osmo_rtp_handle *h, uint8_t payload_type, uint32_t payload_len, const void *data, uint32_t duration); /* supported RTP payload types. */ +#define RTP_PT_RTCP 72 /* RFC 3551: 72-76 for RTCP */ + #define RTP_PT_GSM_FULL 3 #define RTP_PT_GSM_FULL_PAYLOAD_LEN 33 #define RTP_PT_GSM_FULL_DURATION 160 /* in samples. */ |