oRTP  0.27.0
Data Fields
_OrtpNetworkSimulatorParams Struct Reference

#include <rtpsession.h>

Data Fields

int enabled
float max_bandwidth
int max_buffer_size
float loss_rate
uint32_t latency
float consecutive_loss_probability
float jitter_burst_density
float jitter_strength
bool_t RTP_only
OrtpNetworkSimulatorMode mode

Detailed Description

Structure describing the network simulator parameters


Field Documentation

a probablity of having a subsequent loss after a loss occured, in a 0-1 range. Useful to simulate burst of lost packets

Whether simulation is enabled or off.

density of gap/bursts events. A value of 1 means one gap/burst per second approximately

percentage of max_bandwidth artifically consumed during bursts events

Packet transmission delay, in ms

Percentage of lost packets

IP bandwidth, in bit/s

Max number of bit buffered before being discarded

OrtpNetworkSimulatorMode _OrtpNetworkSimulatorParams::mode

True for only RTP packet loss, False for both RTP and RTCP whether simulation is applied to inboud or outbound stream.


The documentation for this struct was generated from the following file: