Audio distorted when Negotiation of codecs on Re-Invite (G711->G722)
Hello, I have an issue with audio distorted during a call when there is a reinvite that change the audio codec from G711 to G722. The issue seems to be caused by G722 which have a diferent sample rate (16000Hz) than G711 (8000Hz). I have already reported this issue at https://freeswitch.org/jira/browse/FS-10779 . I notice that this is a complex situation, so I want to ask if there is any workarround to this situation? I need to use G722 because I need to have HD voice calls. Thanks in advance for the attention. Best regards, Jose Lopes
Hi José, May be you can avoid resampling at all? It seems like all parties have support of g711. So you can negotiate g722 if all legs support it or safely fallback to g711 if someone is not. Check this out: https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation (especially Late negotiation and Inherit codecs parts) On Thu, Jan 11, 2018 at 8:31 PM, José Lopes <jose.lopes@itcenter.com.pt> wrote:
Hello,
I have an issue with audio distorted during a call when there is a reinvite that change the audio codec from G711 to G722.
The issue seems to be caused by G722 which have a diferent sample rate (16000Hz) than G711 (8000Hz).
I have already reported this issue at https://freeswitch.org/jira/ browse/FS-10779 .
I notice that this is a complex situation, so I want to ask if there is any workarround to this situation?
I need to use G722 because I need to have HD voice calls.
Thanks in advance for the attention.
Best regards, Jose Lopes
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Alex Sibyakin | Support Engineer FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> Email: alex@freeswitch.com Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/> Need commercial support? Contact sales@freeswitch.com for details.
participants (2)
-
Alexey Sibyakin
-
José Lopes