This commit is contained in:
Anthony Minessale 2013-05-09 10:10:02 -05:00
parent 569da261aa
commit 646b34a2a2
1 changed files with 1 additions and 1 deletions

View File

@ -4638,7 +4638,7 @@ switch_status_t sofia_glue_get_offered_pt(private_object_t *tech_pvt, const swit
for (i = 0; i < tech_pvt->num_codecs; i++) {
const switch_codec_implementation_t *imp = tech_pvt->codecs[i];
if (!strcasecmp(imp->iananame, mimp->iananame)) {
if (!strcasecmp(imp->iananame, mimp->iananame) && imp->actual_samples_per_second == mimp->actual_samples_per_second) {
*pt = tech_pvt->ianacodes[i];
return SWITCH_STATUS_SUCCESS;