aboutsummaryrefslogtreecommitdiffstats
path: root/include/gapk
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-05-28 13:46:47 +0200
committerHarald Welte <laforge@gnumonks.org>2017-05-28 16:18:09 +0200
commitf62e7a4936d2785f6c7711f5528ebdafd581b572 (patch)
tree82f0b25eec3cbda7e6bd25bf6ad81d0b84e63c6f /include/gapk
parent526fc6e5e906937c3227b88c238d2a6d7e520434 (diff)
Add "rtp-efr" format support for RTP payload according to RFC3551 4.5.9
The RTP EFR payload is a bit like the FR payload: one nibble magic marker, then followed by the actual codec bits. So we need to add/remove that magic marker and shift the remainder by one nibble.
Diffstat (limited to 'include/gapk')
-rw-r--r--include/gapk/formats.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gapk/formats.h b/include/gapk/formats.h
index e010713..ef64797 100644
--- a/include/gapk/formats.h
+++ b/include/gapk/formats.h
@@ -52,6 +52,8 @@ enum format_type {
FMT_AMR_OPENCORE,
FMT_RTP_AMR,
+ FMT_RTP_EFR,
+
_FMT_MAX,
};