summaryrefslogtreecommitdiffstats
path: root/contrib/edioutput/Transport.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2022-08-22 17:16:20 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2022-08-22 17:16:20 +0200
commit7544d1eca9f33f450d2bf3e36b9df298cd7c23d9 (patch)
treeb9a31156af4a3ff835a114513cec8ae404a3301d /contrib/edioutput/Transport.cpp
parentba05fa20365b26d1e0519220abf4d84319b5408e (diff)
downloadODR-AudioEnc-7544d1eca9f33f450d2bf3e36b9df298cd7c23d9.tar.gz
ODR-AudioEnc-7544d1eca9f33f450d2bf3e36b9df298cd7c23d9.tar.bz2
ODR-AudioEnc-7544d1eca9f33f450d2bf3e36b9df298cd7c23d9.zip
Common 306b5fc: Move tcp_server_preroll setting to tcp_server_t
Diffstat (limited to 'contrib/edioutput/Transport.cpp')
-rw-r--r--contrib/edioutput/Transport.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/edioutput/Transport.cpp b/contrib/edioutput/Transport.cpp
index a870aa0..8ebb9fc 100644
--- a/contrib/edioutput/Transport.cpp
+++ b/contrib/edioutput/Transport.cpp
@@ -66,7 +66,7 @@ Sender::Sender(const configuration_t& conf) :
edi_pft(m_conf)
{
if (m_conf.verbose) {
- etiLog.level(info) << "Setup EDI Output, TCP output preroll " << m_conf.tcp_server_preroll_buffers;
+ etiLog.level(info) << "Setup EDI Output";
}
for (const auto& edi_dest : m_conf.destinations) {
@@ -82,7 +82,7 @@ Sender::Sender(const configuration_t& conf) :
}
else if (auto tcp_dest = dynamic_pointer_cast<edi::tcp_server_t>(edi_dest)) {
auto dispatcher = make_shared<Socket::TCPDataDispatcher>(
- tcp_dest->max_frames_queued, m_conf.tcp_server_preroll_buffers);
+ tcp_dest->max_frames_queued, tcp_dest->tcp_server_preroll_buffers);
dispatcher->start(tcp_dest->listen_port, "0.0.0.0");
tcp_dispatchers.emplace(tcp_dest.get(), dispatcher);