osmo-mgw/src/libosmo-mgcp
Pau Espin b066bd0c86 Take into account Marker bit when patching RTP stream
On a deployed osmo-mgw with RTP traffic coming from a thirdparty
RTP source, it was usual to see log messages like following one from
time to time:
"The input timestamp has an alignment error of 159 on SSRC"

Doing a quick traffic analysis showed that the above mentioned RTP
source was generating traffic from time to time containing RTP packets
with the Marker (M) bit.

Those messages were logged because the verification & patching funcions
in osmo-mgw were not Marker-bit aware. Hence, this patch implements
support for Marker bit when handling RTP packets.

The Marker bit is usually used as a start of a talkspurt, and has to be
considered a syncrhonization point, where timestamp and relation to real
time don't need to match with last received RTP packet in the stream.

Related: SYS#5498
Change-Id: I1fb449eda49e82607649122b9b9d983a9e5983fa
2021-07-08 10:18:15 +00:00
..
Makefile.am mgcp_e1: finish E1 support, add E1 support from libosmoabis 2020-08-10 22:56:59 +02:00
g711common.h create libosmo-mgcp and osmo-mgw by copying legacy code 2017-10-05 01:40:43 +00:00
mgcp_codec.c get rid of mgcp_internal.h 2020-08-10 22:56:59 +02:00
mgcp_conn.c Use new stat item/ctr getter APIs 2021-06-04 17:57:34 +02:00
mgcp_ctrl.c Add CTRL interface to osmo-mgw 2020-03-08 13:23:46 +01:00
mgcp_e1.c Use new stat item/ctr getter APIs 2021-06-04 17:57:34 +02:00
mgcp_endp.c cosmetic: Fix typo in comment 2020-09-21 15:45:38 +02:00
mgcp_msg.c cosmetic: Fix typo in comment 2020-09-21 15:45:38 +02:00
mgcp_network.c Take into account Marker bit when patching RTP stream 2021-07-08 10:18:15 +00:00
mgcp_osmux.c mgcp_network: refactor MGCP_DUMMY_LOAD 2021-06-07 20:14:35 +00:00
mgcp_protocol.c Fail rx MDCX sendrecv with invalid remote addr 2021-07-07 14:12:35 +00:00
mgcp_ratectr.c get rid of mgcp_internal.h 2020-08-10 22:56:59 +02:00
mgcp_sdp.c mgw: Initial IPv6 support 2020-09-07 18:12:59 +02:00
mgcp_stat.c Use new stat item/ctr getter APIs 2021-06-04 17:57:34 +02:00
mgcp_trunk.c mgcp_trunk: increase default number of virtual endpoints 2020-09-07 12:11:25 +02:00
mgcp_vty.c Use new stat item/ctr getter APIs 2021-06-04 17:57:34 +02:00