base.h(3) | Library Functions Manual | base.h(3) |
base.h - Base elements for RTP stacks: constants, types and global functions.
#include <commoncpp/config.h>
#include <commoncpp/socket.h>
#include <commoncpp/udp.h>
#define CCXX_PACKED
typedef uint32 microtimeout_t
Time interval expressed in microseconds. typedef uint32 nanotimeout_t
Time interval expressed in nanoseconds.
__EXPORT timeval microtimeout2Timeval
(microtimeout_t to)
Convert a time interval, expressed as a microtimeout_t (number of
microseconds), into a timeval value. microtimeout_t
timeval2microtimeout (const timeval &t)
Convert a time interval, expressed as a timeval value into a microseconds
counter. microtimeout_t timevalDiff2microtimeout (const
timeval &t1, const timeval &t2)
Convert a time interval, expressed as the difference between two timeval
values (t1-t2), into a microseconds counter.
const uint8 CCRTP_VERSION = 2
RTP protocol version supported. const tpport_t DefaultRTPDataPort =
5004
registered default RTP data transport port const tpport_t
DefaultRTCPPort = 5005
registered default RTCP transport port
Base elements for RTP stacks: constants, types and global functions.
Time interval expressed in microseconds.
Time interval expressed in nanoseconds.
Convert a time interval, expressed as a microtimeout_t (number of microseconds), into a timeval value.
Parameters:
Returns:
Convert a time interval, expressed as a timeval value into a microseconds counter.
Parameters:
Returns:
Convert a time interval, expressed as the difference between two timeval values (t1-t2), into a microseconds counter.
Parameters:
Returns:
RTP protocol version supported.
registered default RTCP transport port
registered default RTP data transport port
Generated automatically by Doxygen for ccRTP from the source code.
Sat Oct 27 2018 | ccRTP |