summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsua2
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2014-09-09 04:25:03 +0000
committerLiong Sauw Ming <ming@teluu.com>2014-09-09 04:25:03 +0000
commit1b25660f4fcab13f83c4b68cf92e21e2833bc32b (patch)
treea86289351a90c162d450eb0614445cb5b85c2c9a /pjsip/include/pjsua2
parent6e4021b4bb8ff06b0821519da73e59163d49c7dd (diff)
Re #1784: Revert API change
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4919 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsua2')
-rw-r--r--pjsip/include/pjsua2/call.hpp13
1 files changed, 10 insertions, 3 deletions
diff --git a/pjsip/include/pjsua2/call.hpp b/pjsip/include/pjsua2/call.hpp
index e6e680a0..510ad64d 100644
--- a/pjsip/include/pjsua2/call.hpp
+++ b/pjsip/include/pjsua2/call.hpp
@@ -86,6 +86,15 @@ public:
};
/**
+ * Types of loss detected.
+ */
+struct LossType
+{
+ unsigned burst; /**< Burst/sequential packet lost detected */
+ unsigned random; /**< Random packet lost detected. */
+};
+
+/**
* Unidirectional RTP stream statistics.
*/
struct RtcpStreamStat
@@ -101,9 +110,7 @@ struct RtcpStreamStat
MathStat lossPeriodUsec; /**< Loss period statistics */
- /**< Types of loss detected. */
- unsigned burst; /**< Burst/sequential packet lost detected */
- unsigned random; /**< Random packet lost detected. */
+ LossType lossType; /**< Types of loss detected. */
MathStat jitterUsec; /**< Jitter statistics */