[asterisk-bugs] [JIRA] (ASTERISK-30354) chan_iax2: Lack of formats prior to receiving voice frames causes jitterbuffer to stall

Friendly Automation (JIRA) noreply at issues.asterisk.org
Tue Feb 28 07:56:03 CST 2023


    [ https://issues.asterisk.org/jira/browse/ASTERISK-30354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=261480#comment-261480 ] 

Friendly Automation commented on ASTERISK-30354:
------------------------------------------------

Change 19940 merged by George Joseph:
chan_iax2: Fix jitterbuffer regression prior to receiving audio.

[https://gerrit.asterisk.org/c/asterisk/+/19940|https://gerrit.asterisk.org/c/asterisk/+/19940]

> chan_iax2: Lack of formats prior to receiving voice frames causes jitterbuffer to stall
> ---------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-30354
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30354
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_iax2
>    Affects Versions: 20.0.1
>            Reporter: N A
>            Assignee: N A
>
> Currently, chan_iax2 only calls jb_get to read frames from the jitterbuffer when pvt->voiceformat has been set, which only happens after receiving a voice frame from the other side. This means if the jitterbuffer is enabled, non-voice frames get stalled in the jitterbuffer until a voice frame is received.
> The workaround is to disable the jitterbuffer completely, but that may not be desirable.
> This is kind of silly, since when the call is negotiated, both sides know what format the call is going to use (or at least start with). To fix this, we now fallback to using peerformat if voiceformat hasn't been set yet, which will only happen prior to receiving voice frames.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list