diff options
author | George Joseph <gjoseph@digium.com> | 2018-03-16 09:19:11 -0600 |
---|---|---|
committer | George Joseph <gjoseph@digium.com> | 2018-03-19 15:36:09 -0600 |
commit | 5d097f82367f61bdae7d799c7815e69ba089d6d6 (patch) | |
tree | 1e8494dcc9a164a0c6f2615bee6531363d244374 /configs/samples | |
parent | 5843a197979d10b336a041c6cb8bef90dfa0484a (diff) |
channel.c: Allow generic plc then channel formats are equal
If the two formats on a channel are equal, we don't transcode and since
the generic plc needs slin to work, it doesn't get invoked.
* A new configuration option "genericplc_on_equal_codecs" was added
to the "plc" section of codecs.conf to allow generic packet loss
concealment even if no transcoding was originally needed.
Transcoding via SLIN is forced in this case.
ASTERISK-27743
Change-Id: I0577026a179dea34232e63123254b4e0508378f4
Diffstat (limited to 'configs/samples')
-rw-r--r-- | configs/samples/codecs.conf.sample | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/configs/samples/codecs.conf.sample b/configs/samples/codecs.conf.sample index 8457fb5ac..8c9ce6631 100644 --- a/configs/samples/codecs.conf.sample +++ b/configs/samples/codecs.conf.sample @@ -64,8 +64,15 @@ experimental_rtcp_feedback => false [plc] ; for all codecs which do not support native PLC ; this determines whether to perform generic PLC -; there is a minor performance penalty for this +; there is a minor performance penalty for this. +; By default plc is applied only when the 2 codecs +; in a channel are different. genericplc => true +; Apply generic plc to channels even if the 2 codecs +; are the same. This forces transcoding via slin so +; the performance impact should be considered. +; Ignored if genericplc is not also enabled. +genericplc_on_equal_codecs => false ; Generate custom formats for formats requiring attributes. ; After defining the custom format, the name used in defining |