diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2022-08-19 17:12:54 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2022-08-19 17:18:09 +0200 |
commit | 913cd43139d7b5d6eac166a01ac09a754f2bd013 (patch) | |
tree | 98a7bb16c4a05bd7da8aa0fcd25d7620723b999d /lib/edioutput/Transport.h | |
parent | 7bfb88a7446e7faaee6e297e915a2bf95a699109 (diff) | |
download | dabmux-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/Transport.h')
-rw-r--r-- | lib/edioutput/Transport.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/edioutput/Transport.h b/lib/edioutput/Transport.h index be93297..6a3f229 100644 --- a/lib/edioutput/Transport.h +++ b/lib/edioutput/Transport.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2020 + Copyright (C) 2022 Matthias P. Braendli, matthias.braendli@mpb.li http://www.opendigitalradio.org @@ -90,6 +90,8 @@ class Sender { std::mutex m_mutex; bool m_running = false; std::map<std::chrono::steady_clock::time_point, edi::PFTFragment> m_pending_frames; + + size_t m_last_num_pft_fragments = 0; }; } |