Documentation based on repostory git version commit 1.0.12-487-g7669680

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 both are changin 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 '', from.uri.domain in '', (to.uri.domain in '') && (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
Created by Buildbot on 2018/07/01 01:03