diff options
Diffstat (limited to 'openbsc/include/openbsc/mgcp_internal.h')
-rw-r--r-- | openbsc/include/openbsc/mgcp_internal.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/openbsc/include/openbsc/mgcp_internal.h b/openbsc/include/openbsc/mgcp_internal.h index 3bccb39df..0ec18cd5b 100644 --- a/openbsc/include/openbsc/mgcp_internal.h +++ b/openbsc/include/openbsc/mgcp_internal.h @@ -54,17 +54,22 @@ struct mgcp_rtp_state { uint32_t orig_ssrc; - uint16_t base_seq; int seq_offset; - int cycles; int32_t timestamp_offset; uint32_t packet_duration; - uint32_t jitter; - int32_t transit; struct mgcp_rtp_stream_state in_stream; struct mgcp_rtp_stream_state out_stream; + + /* jitter and packet loss calculation */ + int stats_initialized; + uint16_t stats_base_seq; + uint16_t stats_max_seq; + uint32_t stats_ssrc; + uint32_t stats_jitter; + int32_t stats_transit; + int stats_cycles; }; struct mgcp_rtp_codec { |