[Asterisk-code-review] res/res_rtp_asterisk: Enable rxjitter calculation for video (...asterisk[13])

mattf asteriskteam at digium.com
Tue Apr 2 10:48:20 CDT 2019


mattf has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/11215


Change subject: res/res_rtp_asterisk: Enable rxjitter calculation for video
......................................................................

res/res_rtp_asterisk: Enable rxjitter calculation for video

It looks like we're not properly calculating jitter values on received
video streams.  This patch enables the code that does jitter calculations
for those streams.

Change-Id: Iaac985808829c8f034db8c57318789c4c8c11392
---
M res/res_rtp_asterisk.c
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/15/11215/1

diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c
index 909d82a..e384c23 100644
--- a/res/res_rtp_asterisk.c
+++ b/res/res_rtp_asterisk.c
@@ -5847,6 +5847,7 @@
 		/* Video -- samples is # of samples vs. 90000 */
 		if (!rtp->lastividtimestamp)
 			rtp->lastividtimestamp = timestamp;
+		calc_rxstamp(&rtp->f.delivery, rtp, timestamp, mark);
 		ast_set_flag(&rtp->f, AST_FRFLAG_HAS_TIMING_INFO);
 		rtp->f.ts = timestamp / (rtp_get_rate(rtp->f.subclass.format) / 1000);
 		rtp->f.samples = timestamp - rtp->lastividtimestamp;

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/11215
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Change-Id: Iaac985808829c8f034db8c57318789c4c8c11392
Gerrit-Change-Number: 11215
Gerrit-PatchSet: 1
Gerrit-Owner: mattf <creslin at digium.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20190402/1e91a34d/attachment.html>


More information about the asterisk-code-review mailing list