std::cout<<"DEBUG: ResetStats starting recording to path: "<<path<<std::endl;
m_Filename=m_Recorder.Start(path);
m_Filename=m_Recorder.Start(path);
}
}
else
else
@ -156,9 +155,6 @@ void CCodecStream::RxThread()
if(g_TCServer.Receive(m_CSModule,&pack,1000))// 1s timeout to check keep_running occasionally
if(g_TCServer.Receive(m_CSModule,&pack,1000))// 1s timeout to check keep_running occasionally
{
{
// LOGGING DEBUG
std::cout<<"DEBUG: RxThread Received packet. Module="<<m_CSModule<<" IsOpen="<<m_IsOpen<<std::endl;
if(m_LocalQueue.IsEmpty())
if(m_LocalQueue.IsEmpty())
{
{
std::cout<<"Unexpected transcoded packet received from transcoder: Module='"<<pack.module<<"' StreamID="<<std::hex<<std::showbase<<ntohs(pack.streamid)<<std::endl;
std::cout<<"Unexpected transcoded packet received from transcoder: Module='"<<pack.module<<"' StreamID="<<std::hex<<std::showbase<<ntohs(pack.streamid)<<std::endl;
@ -167,7 +163,6 @@ void CCodecStream::RxThread()
{
{
// pop the original packet
// pop the original packet
autoPacket=m_LocalQueue.Pop();
autoPacket=m_LocalQueue.Pop();
std::cout<<"DEBUG: Popped packet from LocalQueue. Matching..."<<std::endl;