diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2013-12-05 12:02:15 +0100 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2013-12-10 11:13:22 +0100 |
commit | 30ce42250f56c930872228604edd7dd0836ec77a (patch) | |
tree | 94b4c7ad1d79d376838742182b30fe3637f22258 /openbsc/include/openbsc | |
parent | b35a77751b278c7c81e6cc012df2d113f10b3116 (diff) |
mgcp/rtp: Compute default packet duration at state initialisiation
This patch adds a packet_duration field to mgcp_rtp_state which
contains the RTP packet's duration in RTP timestamp units or 0, when
the duration is unknown or not fixed.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r-- | openbsc/include/openbsc/mgcp_internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/mgcp_internal.h b/openbsc/include/openbsc/mgcp_internal.h index 02e193df2..b16bd49a4 100644 --- a/openbsc/include/openbsc/mgcp_internal.h +++ b/openbsc/include/openbsc/mgcp_internal.h @@ -59,6 +59,7 @@ struct mgcp_rtp_state { int cycles; int32_t timestamp_offset; + uint32_t packet_duration; uint32_t jitter; int32_t transit; |