From c716e8c149226bf991a278cbe5d7236fcd84e5fa Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 1 Mar 2021 13:59:36 -0500 Subject: [PATCH] Add logging of audio auxLine. Default to 8000Hz --- src/zm_rtsp_server_adts_fifo_source.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/zm_rtsp_server_adts_fifo_source.cpp b/src/zm_rtsp_server_adts_fifo_source.cpp index 50677b519..757e927eb 100644 --- a/src/zm_rtsp_server_adts_fifo_source.cpp +++ b/src/zm_rtsp_server_adts_fifo_source.cpp @@ -6,6 +6,7 @@ ** ** -------------------------------------------------------------------------*/ +#include "zm_logger.h" #include "zm_rtsp_server_adts_fifo_source.h" #include @@ -29,7 +30,7 @@ ADTS_ZoneMinderFifoSource::ADTS_ZoneMinderFifoSource( ) : ZoneMinderFifoSource(env, fifo, queueSize), - samplingFrequencyIndex(0), + samplingFrequencyIndex(11), channels(1) { std::ostringstream os; @@ -39,5 +40,6 @@ ADTS_ZoneMinderFifoSource::ADTS_ZoneMinderFifoSource( "indexdeltalength=3" << "\r\n"; m_auxLine.assign(os.str()); + Debug(1, "m_auxline is %s", m_auxLine.c_str()); } #endif // HAVE_RTSP_SERVER