[asterisk-dev] [Code Review] 3603: func_jitterbuffer: fix audio failure caused by certain masquerade's

Corey Farrell reviewboard at asterisk.org
Wed Nov 5 12:10:05 CST 2014



> On Nov. 5, 2014, 7:55 a.m., Joshua Colp wrote:
> > Was the behavior for this ever brought up on the -dev list? I don't remember it so I don't think so. Before accepting the behavior you've done I'd really like us to talk about it there amongst everyone. I really think it's the reverse of what a user would expect to happen when a masquerade happens.

http://lists.digium.com/pipermail/asterisk-dev/2014-October/071154.html

The only response I received was on IRC from Richard, who said it was a well written email.


- Corey


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3603/#review13685
-----------------------------------------------------------


On Oct. 30, 2014, 8: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, 8: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/20141105/d1599d2f/attachment.html>


More information about the asterisk-dev mailing list