diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-03 14:35:50 +0000 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-08-03 23:57:16 +0800 |
commit | 6aa882b515f5d86c8c64e254b087cafbaae881ce (patch) | |
tree | 6b1cb6130305a9c50defa355b89b8b1c68989d3e /openbsc/include/openbsc | |
parent | 3186892771fe8174e42c7e3cddc7baf4c9abb0cd (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/openbsc')
-rw-r--r-- | openbsc/include/openbsc/mgcp_internal.h | 5 |
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 { |