[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-server-cvs
Subject: [Server-cvs] common/util/pub pktqmgr.h,1.5,1.6
From: mingda () helixcommunity ! org
Date: 2011-10-27 2:09:49
[Download RAW message or body]
Update of /cvsroot/server/common/util/pub
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv21322
Modified Files:
pktqmgr.h
Log Message:
Synopsis
========
RTP Live - A/V Sync error message too generic
Branch : HEAD
Reviewed by : Chytanya
Description:
==========
When the A/V drift is too large and the stream should be dropped, print the queue \
size and queue depth for every streams of the feed. When the A/V drift reaches the \
half of the maximum acceptable value, print the queue size and queue depth of the \
current stream as a warning.
Files affected:
=========
server/common/util/pktqmgr.cpp
server/common/util/pub/pktqmgr.h
Testing Performed:
================
Unit Tests:
1) start rmserver and wait for the A/V drift occurs.
2) the following error messages should be in the rmerror.log:
19-Oct-2011 16:01:01.870 tmplgpln(7844): RTPLive: live.sdp: Live session is invalid \
or has excessive A/V sync drift. Current stream No 0: queue size: 341, queue depth: \
7168. Other Stream No 1: queue size: 0, queue Depth: 0.
19-Oct-2011 16:01:01.871 tmplgpln(7844): RTPLive: live.sdp: Presentation \
deactivated
19-Oct-2011 16:01:04.511 tmplgpln(7844): RTPLive: live.sdp: Presentation active
19-Oct-2011 16:01:47.092 tmplgpln(7844): RTPLive: live.sdp: Warning: A/V drift \
reaches the half of the queue size or queue depth. Current stream No: 0, Queue size \
is: 154. Queue Depth is: 3233 19-Oct-2011 16:01:51.660 tmplgpln(7844): RTPLive: \
live.sdp: Warning: A/V drift reaches the half of the queue size or queue depth. \
Current stream No: 0, Queue size is: 175. Queue Depth is: 3603 19-Oct-2011 \
16:01:51.726 tmplgpln(7844): RTPLive: live.sdp: Warning: A/V drift reaches the half \
of the queue size or queue depth. Current stream No: 0, Queue size is: 243. Queue \
Depth is: 4768 19-Oct-2011 16:01:51.792 tmplgpln(7844): RTPLive: live.sdp: Warning: \
A/V drift reaches the half of the queue size or queue depth. Current stream No: 0, \
Queue size is: 244. Queue Depth is: 4768
Leak Tests: None
Performance Tests: N/A
Platforms Tested: linux-rhel5-x86_64
QA Hints
========
None.
Index: pktqmgr.h
===================================================================
RCS file: /cvsroot/server/common/util/pub/pktqmgr.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- pktqmgr.h 20 May 2010 23:39:49 -0000 1.5
+++ pktqmgr.h 27 Oct 2011 02:09:46 -0000 1.6
@@ -53,6 +53,7 @@
#define DEFAULT_LATE_INTERVAL 5 // 5 packets
#define DEFAULT_MAX_DEPTH 5000 // 5 seconds
#define DEFAULT_MAX_QUEUE_SIZE 512 // 512 packets
+#define QUEUE_WARNING_RATIO 0.5
_INTERFACE IHXServerPacketExt;
_INTERFACE IHXValues;
_______________________________________________
Server-cvs mailing list
Server-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/server-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic