UniMRCP  1.7.0
Data Structures | Macros | Typedefs
mpf_rtp_defs.h File Reference

Internal RTP Definitions. More...

#include "mpf_rtp_stat.h"
#include "mpf_jitter_buffer.h"
Include dependency graph for mpf_rtp_defs.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

◆ DEVIATION_THRESHOLD

#define DEVIATION_THRESHOLD   4000

Deviation threshold is used to trigger a drift in timestamps

◆ DISCARDED_TO_RECEIVED_RATIO_THRESHOLD

#define DISCARDED_TO_RECEIVED_RATIO_THRESHOLD   30 /* 30% */

Restart receiver if threshold is reached

◆ INTER_TALKSPURT_GAP

#define INTER_TALKSPURT_GAP   1000 /* msec */

This threshold is used to detect a new talkspurt

◆ MAX_DROPOUT

#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

◆ MAX_MISORDER

#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

◆ RTP_SEQ_MOD

#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_t

RTP receiver declaration

◆ rtp_rx_history_t

RTP receiver history declaration

◆ rtp_rx_periodic_history_t

RTP receiver periodic history declaration

◆ rtp_transmitter_t

RTP transmitter declaration