Transcoder

Last modified by Buildbot on 2020/11/11 05:27

 Documentation based on repostory git version commit 2.0.2-5-g0c973c23 

Module Transcoder

The purpose of the Transcoder module is to transparently transcode from one audio codec to another to make the communication possible between clients that do not share the same set of supported codecs. Concretely, it adds all missing codecs into the INVITEs it receives, and adds codecs matching the original INVITE into the 200Ok. Rtp ports and addresses are masqueraded so that the streams can be processed by the proxy. The transcoding job is done in the background by the Mediastreamer2 library, as consequence the set of supported codecs is exactly the the same as the codec set supported by Mediastreamer2, including the possible plugins you may installed to extend Mediastreamer2.

WARNING: this module can conflict with the MediaRelay module as they are both changing the SDP. Make sure to configure them with different to-domains or from-domains filter if you want to enable both of them.
----

Configuration options:

NameDescriptionDefault ValueType
enabledIndicate whether the module is activated. falseBoolean
filterA request/response enters module if the boolean filter evaluates to true. Ex: from.uri.domain contains 'sip.linphone.org', from.uri.domain in 'a.org b.org c.org', (to.uri.domain in 'a.org b.org c.org') && (user-agent == 'Linphone v2') BooleanExpr
jb-nom-sizeNominal size of RTP jitter buffer, in milliseconds. A value of 0 means no jitter buffer (packet processing). 0Integer
rc-user-agentsWhitespace separated list of user-agent strings for which audio rate control is performed. StringList
audio-codecsWhitespace seprated list of audio codecs, in order of preference. The 'telephone-event' codec is necessary for inband DTMF processing. speex/8000 amr/8000 iLBC/8000 gsm/8000 pcmu/8000 pcma/8000 telephone-event/8000StringList
remove-bw-limitsRemove the bandwidth limitations from SDP offers and answers falseBoolean
block-retransmissionsIf true, retransmissions of INVITEs will be blocked. The purpose of this option is to limit bandwidth usage and server load on reliable networks. falseBoolean