diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2022-08-22 17:14:23 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2022-08-22 17:14:23 +0200 |
commit | 210336e55efa9ccc6295f8767935570532e80a41 (patch) | |
tree | a45201636c81474a7966692551a59efc0e78df2d /lib/edioutput/EDIConfig.h | |
parent | e2929565c4a0d2bcacae1d30a126d72a45061501 (diff) | |
download | dabmux-210336e55efa9ccc6295f8767935570532e80a41.tar.gz dabmux-210336e55efa9ccc6295f8767935570532e80a41.tar.bz2 dabmux-210336e55efa9ccc6295f8767935570532e80a41.zip |
Add pre-roll burst config setting
This includes Common 306b5fc
Diffstat (limited to 'lib/edioutput/EDIConfig.h')
-rw-r--r-- | lib/edioutput/EDIConfig.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/edioutput/EDIConfig.h b/lib/edioutput/EDIConfig.h index a7225a7..1997210 100644 --- a/lib/edioutput/EDIConfig.h +++ b/lib/edioutput/EDIConfig.h @@ -53,6 +53,9 @@ struct udp_destination_t : public destination_t { struct tcp_server_t : public destination_t { unsigned int listen_port = 0; size_t max_frames_queued = 1024; + + // The TCP Server output can preroll a fixed number of previous buffers each time a new client connects. + size_t tcp_server_preroll_buffers = 0; }; // TCP client that connects to one endpoint @@ -74,9 +77,6 @@ struct configuration_t { // Spread transmission of fragments in time. 1.0 = 100% means spreading over the whole duration of a frame (24ms) // Above 100% means that the fragments are spread over several 24ms periods, interleaving the AF packets. - // TCP Server output can preroll a fixed number of previous buffers each time a new client connects. - size_t tcp_server_preroll_buffers = 0; - bool enabled() const { return destinations.size() > 0; } void print() const; |