[Asterisk-code-review] bridge native rtp.c: Fail native bridge if no framing match (asterisk[13])
Joshua Colp
asteriskteam at digium.com
Mon Nov 5 05:21:16 CST 2018
Joshua Colp has posted comments on this change. ( https://gerrit.asterisk.org/10495 )
Change subject: bridge_native_rtp.c: Fail native bridge if no framing match
......................................................................
Patch Set 3: Code-Review-1
(2 comments)
https://gerrit.asterisk.org/#/c/10495/3/bridges/bridge_native_rtp.c
File bridges/bridge_native_rtp.c:
https://gerrit.asterisk.org/#/c/10495/3/bridges/bridge_native_rtp.c@714
PS3, Line 714: return 0;
This needs a debug message like the other places here so that when figuring things out it can be more evident this was done.
https://gerrit.asterisk.org/#/c/10495/3/bridges/bridge_native_rtp.c@718
PS3, Line 718: read_ptime0 = ast_format_cap_get_format_framing(cap0, ast_channel_rawreadformat(bc0->chan));
: read_ptime1 = ast_format_cap_get_format_framing(cap1, ast_channel_rawreadformat(bc1->chan));
: write_ptime0 = ast_format_cap_get_format_framing(cap0, ast_channel_rawwriteformat(bc0->chan));
: write_ptime1 = ast_format_cap_get_format_framing(cap1, ast_channel_rawwriteformat(bc1->chan));
Did you investigate why this existing code which checks format framing would have failed? All formats should have had the same framing, so this should have caught it unless the framing on the channel is incorrect which would be a bug.
--
To view, visit https://gerrit.asterisk.org/10495
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: comment
Gerrit-Change-Id: Ic64b8fc6a140a93fbdb2f97550a40d0ff334e607
Gerrit-Change-Number: 10495
Gerrit-PatchSet: 3
Gerrit-Owner: Robert Cripps <rcripps at voxbone.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2 (1000185)
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Robert Cripps <rcripps at voxbone.com>
Gerrit-Comment-Date: Mon, 05 Nov 2018 11:21:16 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20181105/983d5292/attachment.html>
More information about the asterisk-code-review
mailing list