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

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu Mar 2 10:50:03 CST 2023


     [ https://issues.asterisk.org/jira/browse/ASTERISK-30354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team updated ASTERISK-30354:
-------------------------------------

    Target Release Version/s: 18.17.0

> 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
>      Target Release: 18.17.0
>
>
> 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