[asterisk-bugs] [JIRA] (ASTERISK-26419) Remove redundant codec translations when using audiohooks
Michael Walton (JIRA)
noreply at issues.asterisk.org
Wed Sep 28 12:45:01 CDT 2016
Michael Walton created ASTERISK-26419:
-----------------------------------------
Summary: Remove redundant codec translations when using audiohooks
Key: ASTERISK-26419
URL: https://issues.asterisk.org/jira/browse/ASTERISK-26419
Project: Asterisk
Issue Type: Improvement
Security Level: None
Components: Core/Channels, Core/General
Affects Versions: 14.0.1, 13.11.2, 11.23.1
Environment: All
Reporter: Michael Walton
Channel.c currently calls audiohooks and passes channel voice data in its native format. In most cases, the native format is later transcoded to linear for bridging or other dialplan functions. When using audiohooks, e.g. for recording or conference, the required codec translation from native to linear and vice versa is instantiated separately for each hook, alongside the translation required for bridging. This can result in 2 or 3 simultaneous codec translations for a single bridged call, which is very inefficient in terms of CPU usage.
By moving the audiohook location in the read and write functions in channel.c, we can share the expensive codec translation amongst all users of the frame data.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list