Base elements for RTP stacks: constants, types and global functions.
More...
#include <commoncpp/config.h>
#include <commoncpp/socket.h>
#include <commoncpp/udp.h>
Include dependency graph for base.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Macros
Typedefs
Time interval expressed in microseconds.
More...
Time interval expressed in nanoseconds.
More...
Functions
Convert a time interval, expressed as a microtimeout_t (number of microseconds), into a timeval value.
More...
Convert a time interval, expressed as a timeval value into a microseconds counter.
More...
Convert a time interval, expressed as the difference between two timeval values (t1-t2), into a microseconds counter.
More...
Variables
RTP protocol version supported.
More...
registered default RTP data transport port
More...
registered default RTCP transport port
More...
Detailed Description
Base elements for RTP stacks: constants, types and global functions.
Definition in file base.h.
Macro Definition Documentation
Typedef Documentation
Time interval expressed in microseconds.
Definition at line 67 of file base.h.
Time interval expressed in nanoseconds.
Definition at line 70 of file base.h.
Function Documentation
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.
Definition at line 76 of file rtcppkt.cpp.
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.
Definition at line 90 of file base.h.
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.
Definition at line 102 of file base.h.
Variable Documentation
const uint8 CCRTP_VERSION = 2
RTP protocol version supported.
Definition at line 64 of file base.h.
const tpport_t DefaultRTCPPort = 5005
registered default RTCP transport port
Definition at line 112 of file base.h.
const tpport_t DefaultRTPDataPort = 5004
registered default RTP data transport port
Definition at line 109 of file base.h.