UniMRCP  1.5.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Macros | Typedefs
mpf_rtp_defs.h File Reference

Internal RTP Definitions. More...

#include "mpf_rtp_stat.h"
#include "mpf_jitter_buffer.h"

Go to the source code of this file.

Data Structures

struct  rtp_rx_history_t
 
struct  rtp_rx_periodic_history_t
 
struct  rtp_receiver_t
 
struct  rtp_transmitter_t
 

Macros

#define RTP_SEQ_MOD   (1 << 16)
 
#define MAX_DROPOUT   3000
 
#define MAX_MISORDER   100
 
#define DISCARDED_TO_RECEIVED_RATIO_THRESHOLD   30 /* 30% */
 
#define DEVIATION_THRESHOLD   4000
 
#define INTER_TALKSPURT_GAP   1000 /* msec */
 

Typedefs

typedef struct rtp_rx_history_t rtp_rx_history_t
 
typedef struct
rtp_rx_periodic_history_t 
rtp_rx_periodic_history_t
 
typedef struct rtp_receiver_t rtp_receiver_t
 
typedef struct rtp_transmitter_t rtp_transmitter_t
 

Detailed Description

Internal RTP Definitions.

Macro Definition Documentation

#define DEVIATION_THRESHOLD   4000

Deviation threshold is used to trigger a drift in timestamps

#define DISCARDED_TO_RECEIVED_RATIO_THRESHOLD   30 /* 30% */

Restart receiver if threshold is reached

#define INTER_TALKSPURT_GAP   1000 /* msec */

This threshold is used to detect a new talkspurt

#define MAX_DROPOUT   3000

Number of max dropout packets (seq numbers) is used to trigger either a drift in the seq numbers or a misorder packet

#define MAX_MISORDER   100

Number of max misorder packets (seq numbers) is used to differentiate a drift in the seq numbers from a misorder packet

#define RTP_SEQ_MOD   (1 << 16)

Used to calculate actual number of received packets (32bit) in case seq number (16bit) wrapped around

Typedef Documentation

RTP receiver declaration

RTP receiver history declaration

RTP receiver periodic history declaration

RTP transmitter declaration