aboutsummaryrefslogtreecommitdiffstats
path: root/lib/edioutput/EDIConfig.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2022-08-19 17:12:54 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2022-08-19 17:18:09 +0200
commit913cd43139d7b5d6eac166a01ac09a754f2bd013 (patch)
tree98a7bb16c4a05bd7da8aa0fcd25d7620723b999d /lib/edioutput/EDIConfig.h
parent7bfb88a7446e7faaee6e297e915a2bf95a699109 (diff)
downloaddabmux-913cd43139d7b5d6eac166a01ac09a754f2bd013.tar.gz
dabmux-913cd43139d7b5d6eac166a01ac09a754f2bd013.tar.bz2
dabmux-913cd43139d7b5d6eac166a01ac09a754f2bd013.zip
Support EDI TCP server pre-roll on client connect
Includes common code changes: socket changes for keepalive and preroll
Diffstat (limited to 'lib/edioutput/EDIConfig.h')
-rw-r--r--lib/edioutput/EDIConfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/edioutput/EDIConfig.h b/lib/edioutput/EDIConfig.h
index d57e9ce..a7225a7 100644
--- a/lib/edioutput/EDIConfig.h
+++ b/lib/edioutput/EDIConfig.h
@@ -74,6 +74,9 @@ 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;