diff options
Diffstat (limited to 'pjsip/include/pjsua2/call.hpp')
-rw-r--r-- | pjsip/include/pjsua2/call.hpp | 13 |
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 */ |