diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-09-07 11:52:43 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-09-07 11:52:43 +0200 |
commit | ddfaca45feda2f07481fb4a7d70c303fe7b70e29 (patch) | |
tree | 961ffbecf81d7d8bf65a6a76891f1342c073cf45 | |
parent | fcb1fe8c62e05e6023eb90e14353ecd1e67777fd (diff) |
add GSM_RTP_DURATIONv0.0.7
-rw-r--r-- | include/osmocom/trau/osmo_ortp.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/osmocom/trau/osmo_ortp.h b/include/osmocom/trau/osmo_ortp.h index 1003896..5b350ce 100644 --- a/include/osmocom/trau/osmo_ortp.h +++ b/include/osmocom/trau/osmo_ortp.h @@ -9,9 +9,11 @@ /* we cannot include ortp/ortp.h here, as they also use 'struct msgb' */ struct _RtpSession; +/*! \brief default duration of a 20ms GSM codec frame */ +#define GSM_RTP_DURATION 160 + /*! \brief standard payload type for GSM Full Rate (FR) */ #define RTP_PT_GSM_FULL 3 - /*! \brief Osmocom pseudo-static paylaod type for Half Rate (HR) */ #define RTP_PT_GSM_HALF 96 /*! \brief Osmocom pseudo-static paylaod type for Enhanced Full Rate (EFR) */ @@ -19,6 +21,7 @@ struct _RtpSession; /*! \brief Osmocom pseudo-static paylaod type for Adaptive Multi Rate (AMR) */ #define RTP_PT_AMR 98 + /*! \brief Flag to indicate the socket is in polling-only mode */ #define OSMO_RTP_F_POLL 0x0001 |