|
oRTP
4.4.0
|
#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 |
| bool_t | pad [3] |
| OrtpNetworkSimulatorMode | mode |
Structure describing the network simulator parameters
| float _OrtpNetworkSimulatorParams::consecutive_loss_probability |
a probability of having a subsequent loss after a loss occurred, in a 0-1 range. Useful to simulate burst of lost packets
| int _OrtpNetworkSimulatorParams::enabled |
Whether simulation is enabled or off.
| float _OrtpNetworkSimulatorParams::jitter_burst_density |
density of gap/bursts events. A value of 1 means one gap/burst per second approximately
| float _OrtpNetworkSimulatorParams::jitter_strength |
percentage of max_bandwidth artificially consumed during bursts events
| uint32_t _OrtpNetworkSimulatorParams::latency |
Packet transmission delay, in ms
| float _OrtpNetworkSimulatorParams::loss_rate |
Percentage of lost packets
| float _OrtpNetworkSimulatorParams::max_bandwidth |
IP bandwidth, in bit/s. This limitation is applied after loss are simulated, so incoming bandwidth is NOT socket bandwidth, but after-loss-simulation bandwidth e.g with 50% loss, the bandwidth will be 50% reduced
| int _OrtpNetworkSimulatorParams::max_buffer_size |
Max number of bit buffered before being discarded
| OrtpNetworkSimulatorMode _OrtpNetworkSimulatorParams::mode |
whether simulation is applied to inbound or outbound stream.
| bool_t _OrtpNetworkSimulatorParams::pad[3] |
True for only RTP packet loss, False for both RTP and RTCP
1.8.18