[asterisk-bugs] [JIRA] (ASTERISK-26419) audiohooks: Remove redundant codec translations when using audiohooks
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Wed Jun 7 08:15:01 CDT 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-26419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=237342#comment-237342 ]
Friendly Automation commented on ASTERISK-26419:
------------------------------------------------
Change 5758 merged by Joshua Colp:
channel: ast_write frame wrongly freed after call to audiohooks
[https://gerrit.asterisk.org/5758|https://gerrit.asterisk.org/5758]
> audiohooks: 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: 11.23.1, 13.11.2, 14.0.1
> Environment: All
> Reporter: Michael Walton
> Assignee: Unassigned
>
> 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