[asterisk-commits] file: branch 11 r417141 - /branches/11/res/res_rtp_asterisk.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jun 23 13:49:19 CDT 2014
Author: file
Date: Mon Jun 23 13:49:14 2014
New Revision: 417141
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=417141
Log:
res_rtp_asterisk: Return the length of data written when sending via ICE instead of 0.
ASTERISK-23834 #close
Reported by: Richard Kenner
Modified:
branches/11/res/res_rtp_asterisk.c
Modified: branches/11/res/res_rtp_asterisk.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/res/res_rtp_asterisk.c?view=diff&rev=417141&r1=417140&r2=417141
==============================================================================
--- branches/11/res/res_rtp_asterisk.c (original)
+++ branches/11/res/res_rtp_asterisk.c Mon Jun 23 13:49:14 2014
@@ -1657,7 +1657,7 @@
if (pj_ice_sess_send_data(rtp->ice, rtcp ? AST_RTP_ICE_COMPONENT_RTCP : AST_RTP_ICE_COMPONENT_RTP, temp, len) == PJ_SUCCESS) {
*ice = 1;
- return 0;
+ return len;
}
}
#endif
More information about the asterisk-commits
mailing list