[asterisk-commits] file: branch 12 r417142 - in /branches/12: ./ res/res_rtp_asterisk.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jun 23 13:49:58 CDT 2014


Author: file
Date: Mon Jun 23 13:49:56 2014
New Revision: 417142

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=417142
Log:
res_rtp_asterisk: Return the length of data written when sending via ICE instead of 0.

ASTERISK-23834 #close
Reported by: Richard Kenner
........

Merged revisions 417141 from http://svn.asterisk.org/svn/asterisk/branches/11

Modified:
    branches/12/   (props changed)
    branches/12/res/res_rtp_asterisk.c

Propchange: branches/12/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.

Modified: branches/12/res/res_rtp_asterisk.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/res/res_rtp_asterisk.c?view=diff&rev=417142&r1=417141&r2=417142
==============================================================================
--- branches/12/res/res_rtp_asterisk.c (original)
+++ branches/12/res/res_rtp_asterisk.c Mon Jun 23 13:49:56 2014
@@ -1658,7 +1658,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