[asterisk-dev] [Code Review] 3603: func_jitterbuffer: fix audio failure caused by certain masquerade's
opticron
reviewboard at asterisk.org
Tue Nov 18 12:49:52 CST 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3603/#review13807
-----------------------------------------------------------
/branches/11/funcs/func_jitterbuffer.c
<https://reviewboard.asterisk.org/r/3603/#comment24287>
These should use ast_strdup and should be checked for failure.
- opticron
On Oct. 30, 2014, 7:06 p.m., Corey Farrell wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/3603/
> -----------------------------------------------------------
>
> (Updated Oct. 30, 2014, 7:06 p.m.)
>
>
> Review request for Asterisk Developers, Joshua Colp and Matt Jordan.
>
>
> Bugs: ASTERISK-22409
> https://issues.asterisk.org/jira/browse/ASTERISK-22409
>
>
> Repository: Asterisk
>
>
> Description
> -------
>
> During masquerade it is possible for the AST_JITTERBUFFER_FD to be cleared (set to -1). This change adds a check when copying channel fd's to prevent clearing an FD with -1. This seems to resolve the bad audio quality experienced after the masquerade. When AST_JITTERBUFFER_FD was set to -1, this prevented the channel from polling that timer. This caused RTP packets to be received late, and discarded.
>
>
> Diffs
> -----
>
> /branches/11/main/channel.c 426593
> /branches/11/funcs/func_jitterbuffer.c 426593
>
> Diff: https://reviewboard.asterisk.org/r/3603/diff/
>
>
> Testing
> -------
>
> Verified the scenario outlined in ASTERISK-22409 no longer experiences audio quality loss.
>
>
> Thanks,
>
> Corey Farrell
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20141118/d5bcd340/attachment-0001.html>
More information about the asterisk-dev
mailing list