aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-09-01 10:50:22 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-09-02 09:22:19 +0200
commite46bc2714d3703ce11d71edcc3a0f060ff513ce3 (patch)
treee217c13f0327220d0f16e42caf050596ab732de8 /openbsc/include
parentfa80d07de0975fe3b00daeadd5d9f685abf62653 (diff)
mgcp: Store one more codec/payload type if it is present
In case of some RTP proxy from time to time we are offered both G729 and G711 but only one of them will work. I intend to adjust the codec at runtime in case we receive the wrong codec.
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/mgcp_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mgcp_internal.h b/openbsc/include/openbsc/mgcp_internal.h
index 245890994..34c3d973a 100644
--- a/openbsc/include/openbsc/mgcp_internal.h
+++ b/openbsc/include/openbsc/mgcp_internal.h
@@ -90,6 +90,7 @@ struct mgcp_rtp_end {
/* audio codec information */
struct mgcp_rtp_codec codec;
+ struct mgcp_rtp_codec alt_codec; /* TODO/XXX: make it generic */
/* per endpoint data */
int frames_per_packet;