base.h(3) | Library Functions Manual | base.h(3) |
NAME¶
base.h - Base elements for RTP stacks: constants, types and global functions.SYNOPSIS¶
#include <commoncpp/config.h>Macros¶
#define CCXX_PACKED
Typedefs¶
typedef uint32 microtimeout_t
Functions¶
__EXPORT timeval microtimeout2Timeval (microtimeout_t to)
Variables¶
const uint8 CCRTP_VERSION = 2
Detailed Description¶
Base elements for RTP stacks: constants, types and global functions.Macro Definition Documentation¶
#define CCXX_PACKED¶
Typedef Documentation¶
typedef uint32 microtimeout_t¶
Time interval expressed in microseconds.typedef uint32 nanotimeout_t¶
Time interval expressed in nanoseconds.Function Documentation¶
__EXPORT timeval microtimeout2Timeval ( microtimeout_tto)¶
Convert a time interval, expressed as a microtimeout_t (number of microseconds), into a timeval value. Parameters:to time interval, in microseconds.
Returns:
the same time interval, as a timeval value.
microtimeout_t timeval2microtimeout (const timeval &t) [inline]¶
Convert a time interval, expressed as a timeval value into a microseconds counter. Parameters:t time, as a timeval.
Returns:
the same time, as a microseconds counter.
microtimeout_t timevalDiff2microtimeout (const timeval &t1, const timeval &t2) [inline]¶
Convert a time interval, expressed as the difference between two timeval values (t1-t2), into a microseconds counter. Parameters:t1 First timeval.
t2 Second timeval.
Returns:
difference between t1 and t2, in microseconds.
Variable Documentation¶
const uint8 CCRTP_VERSION = 2¶
RTP protocol version supported.const tpport_t DefaultRTCPPort = 5005¶
registered default RTCP transport portconst tpport_t DefaultRTPDataPort = 5004¶
registered default RTP data transport portAuthor¶
Generated automatically by Doxygen for ccRTP from the source code.Wed Jun 25 2014 | ccRTP |