[asterisk-dev] [Code Review] 3603: func_jitterbuffer: fix audio failure caused by certain masquerade's
Corey Farrell
reviewboard at asterisk.org
Mon Apr 13 23:12:58 CDT 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3603/
-----------------------------------------------------------
(Updated April 14, 2015, 12:12 a.m.)
Status
------
This change has been discarded.
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/20150414/deb50268/attachment.html>
More information about the asterisk-dev
mailing list