netsim: add "allow-reordering" property
authorHavard Graff <havard.graff@gmail.com>
Tue, 1 Nov 2016 15:03:00 +0000 (16:03 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 25 Nov 2017 11:10:27 +0000 (11:10 +0000)
commitb8b4124c8b55d884ec0a01c48744285e78ad449e
tree7d5115a2e49ee303ae4ea4aec602bd15ec7d15e7
parentc9002e3dd52614a7df1a0992fe4a8453a74cda81
netsim: add "allow-reordering" property

Reordering of packets is not very common in networks, and the delay
functions will always introduce reordering if delay > packet-spacing,
so by setting allow-reordering to FALSE you guarantee that the packets
are in order, while at the same time introducing delay/jitter to them.
gst/netsim/gstnetsim.c
gst/netsim/gstnetsim.h