osmo-bsc/openbsc/src/osmo-bsc_mgcp
Jacob Erlbeck 42a833e89f mgcp: Add packet size (ptime) conversion
The current transcoder implemenation always does a 1:1 recoding
concerning the duration of a packet. So RTP timestamps and sequence
numbers are not modified.

This is not sufficient in some cases, e.g. when the BTS does only
allow for a single fixed ptime.

This patch decouples encoding from decoding and moves the decoded
samples to the state structure so that samples can be combined or
drain according to the packaging of incoming and outgoing packets.

This patch incorporates parts of Holger's experimental fixes in
0e669e05^..9eba68f9.

Ticket: OW#1111
Sponsored-by: On-Waves ehf
2014-06-05 14:08:45 +02:00
..
Makefile.am mgcp: Add RTP audio transcoding 2014-06-05 14:00:47 +02:00
g711common.h mgcp: Add RTP audio transcoding 2014-06-05 14:00:47 +02:00
mgcp_main.c mgcp: Add RTP audio transcoding 2014-06-05 14:00:47 +02:00
mgcp_transcode.c mgcp: Add packet size (ptime) conversion 2014-06-05 14:08:45 +02:00
mgcp_transcode.h mgcp: Add CLI tool to test audio conversion 2014-06-05 14:00:47 +02:00