Summary: | ASTERISK-21195: Transcoding makes bad choice in high-rate translations | ||
Reporter: | Richard Kenner (kenner) | Labels: | |
Date Opened: | 2013-02-28 17:43:05.000-0600 | Date Closed: | 2013-02-28 20:27:49.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Codecs/General |
Versions: | 10.7.1 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | In main/translate.c, generate_table_costs considers any upsample equivalent if the slin in/out profile is the same. But that's wrong. The cost should be adjusted depending on how far apart the rate are. For example siren14 to slin32 should be via slin16, not slin. I modified that table to just add to the cost the difference in the rates and that fixes this problem, but I'm not sure enough of the scaling to know if that's the right amount to adjust it by. | ||
Comments: | By: Michael L. Young (elguero) 2013-02-28 20:27:21.745-0600 Asterisk 10 is no longer supported for bug fixes (https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions). For continued maintenance support please move to a branch which is a long term support (LTS) branch. If you find that this problem has not been resolved in a supported branch (1.8 or 11), then we can take a look at this for you against that version of Asterisk. Thanks |