From 02fd824bd079486ee7baabddfdb83c0f3ca3b6c7 Mon Sep 17 00:00:00 2001 From: Dave Behnke <916775+dbehnke@users.noreply.github.com> Date: Sun, 28 Dec 2025 04:44:05 -0500 Subject: [PATCH] Enable debug logs for CodecStream packet tracking --- reflector/CodecStream.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reflector/CodecStream.cpp b/reflector/CodecStream.cpp index 2414417..249fc5a 100644 --- a/reflector/CodecStream.cpp +++ b/reflector/CodecStream.cpp @@ -129,6 +129,7 @@ void CCodecStream::Task(void) // make sure this is the correct packet if ((pack.streamid == Packet->GetCodecPacket()->streamid) && (pack.sequence == Packet->GetCodecPacket()->sequence)) { + std::cout << "DEBUG: CodecStream Received matching packet streamid=" << std::hex << ntohs(pack.streamid) << " seq=" << std::dec << pack.sequence << std::endl; // update statistics auto rt =Packet->m_rtTimer.time(); // the round-trip time if (0 == m_RTCount) @@ -204,6 +205,7 @@ void CCodecStream::Task(void) // the fd was good and then the send was successful, so... // push the frame to our local queue where it can wait for the transcoder + std::cout << "DEBUG: CodecStream Pushed streamid=" << std::hex << ntohs(Frame->GetCodecPacket()->streamid) << " seq=" << std::dec << Frame->GetCodecPacket()->sequence << std::endl; m_LocalQueue.Push(std::move(m_Queue.Pop())); } }