diff options
Diffstat (limited to 'include/osmocom/trau/osmo_ortp.h')
-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 |