base.h File Reference
Base elements for RTP stacks: constants, types and global functions.
More...
#include <cc++/config.h>
#include <cc++/socket.h>
Go to the source code of this file.
Detailed Description
Base elements for RTP stacks: constants, types and global functions.
Define Documentation
Typedef Documentation
Time interval expressed in microseconds.
Time interval expressed in nanoseconds.
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.
Convert a time interval, expressed as a timeval value into a microseconds counter.
- Parameters:
-
- 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
RTP protocol version supported.
registered default RTCP transport port
registered default RTP data transport port