drachtio / drachtio-freeswitch-modules

A collection of open-sourced freeswitch modules that I use in various drachtio applications
MIT License
176 stars 119 forks source link

G722 is reporting as 8kHz, while its actual 16kHz (RFC 3551 4.5.2) #21

Closed goddva closed 4 years ago

goddva commented 4 years ago

If we try to resample G722, I did not get it to work correctly. Then I found the issue with G722 and its wrong rate. I do a simple check for G722, and then return the "actual_samples_per_second".