aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-08-03 14:35:50 +0000
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-08-04 00:26:00 +0800
commitd585586d7b17f70af619b4df57ea58674fcf96fb (patch)
tree1b5766c9a4b2fcdd2569aa44e61bcb028c7cdcc1 /openbsc/include
parent0b3ffb15134633f8eb1d54f67c657e4fc0e04b6d (diff)
mgcp: Allow switching the audio streams, patch the header
Patch the sequence number, the SSRC and the timestamp to allow to mix various voice streams, e.g. toggling the loop during the call.
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/mgcp_internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mgcp_internal.h b/openbsc/include/openbsc/mgcp_internal.h
index adb01f467..f6f8d6ebb 100644
--- a/openbsc/include/openbsc/mgcp_internal.h
+++ b/openbsc/include/openbsc/mgcp_internal.h
@@ -39,8 +39,13 @@ enum mgcp_connection_mode {
struct mgcp_rtp_state {
int initialized;
+ uint32_t orig_ssrc;
+ uint32_t ssrc;
uint16_t seq_no;
int lost_no;
+ int seq_offset;
+ uint32_t last_timestamp;
+ int32_t timestamp_offset;
};
struct mgcp_endpoint {