From e72b82609c1822ca2574286160e0385073f4ab93 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Wed, 12 Feb 2014 05:18:31 +0000 Subject: More pjsua2 API (re #1519): renamed TimeValue to TimeVal due to conflict in iOS SDK git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4742 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip/include/pjsua2/call.hpp | 8 ++++---- pjsip/include/pjsua2/types.hpp | 2 +- pjsip/src/pjsua2/types.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pjsip/include/pjsua2/call.hpp b/pjsip/include/pjsua2/call.hpp index c4978e38..52dcd29e 100644 --- a/pjsip/include/pjsua2/call.hpp +++ b/pjsip/include/pjsua2/call.hpp @@ -90,7 +90,7 @@ public: */ struct RtcpStreamStat { - TimeValue update; /**< Time of last update. */ + TimeVal update; /**< Time of last update. */ unsigned updateCount;/**< Number of updates (to calculate avg) */ unsigned pkt; /**< Total number of packets */ unsigned bytes; /**< Total number of payload/bytes */ @@ -140,7 +140,7 @@ public: */ struct RtcpStat { - TimeValue start; /**< Time when session was created */ + TimeVal start; /**< Time when session was created */ RtcpStreamStat txStat; /**< Encoder stream statistics. */ RtcpStreamStat rxStat; /**< Decoder stream statistics. */ @@ -508,12 +508,12 @@ struct CallInfo * Up-to-date call connected duration (zero when call is not * established) */ - TimeValue connectDuration; + TimeVal connectDuration; /** * Total call duration, including set-up time */ - TimeValue totalDuration; + TimeVal totalDuration; /** * Flag if remote was SDP offerer diff --git a/pjsip/include/pjsua2/types.hpp b/pjsip/include/pjsua2/types.hpp index 129ac4a6..4e1bb8c3 100644 --- a/pjsip/include/pjsua2/types.hpp +++ b/pjsip/include/pjsua2/types.hpp @@ -236,7 +236,7 @@ struct Version /** * Representation of time value. */ -struct TimeValue +struct TimeVal { /** * The seconds part of the time. diff --git a/pjsip/src/pjsua2/types.cpp b/pjsip/src/pjsua2/types.cpp index 26740cc7..b62fab5a 100644 --- a/pjsip/src/pjsua2/types.cpp +++ b/pjsip/src/pjsua2/types.cpp @@ -87,7 +87,7 @@ string Error::info(bool multi_line) const /////////////////////////////////////////////////////////////////////////////// -void TimeValue::fromPj(const pj_time_val &prm) +void TimeVal::fromPj(const pj_time_val &prm) { this->sec = prm.sec; this->msec = prm.msec; -- cgit v1.2.3