std::cout<<"Unexpected transcoded packet received from transcoder"<<std::endl;
std::cout<<"Unexpected transcoded packet received from transcoder: Module='"<<pack.module<<"' StreamID="<<std::hex<<std::showbase<<ntohs(pack.streamid)<<std::endl;
}
else
elseif(m_IsOpen)
{
// pop the original packet
autoPacket=m_LocalQueue.Pop();
autoFrame=(CDvFramePacket*)Packet.get();
// do things look okay?
if(pack.module!=m_CSModule)
std::cerr<<"CodecStream '"<<m_CSModule<<"' received a transcoded packet from module '"<<pack.module<<"'"<<std::dec<<std::noshowbase<<std::endl;
std::cout<<"Transcoder packet received but CodecStream["<<m_CSModule<<"] is closed: Module='"<<pack.module<<"' StreamID="<<std::hex<<std::showbase<<ntohs(pack.streamid)<<std::endl;
}
}
// anything in our queue
@ -171,7 +178,10 @@ void CCodecStream::Task(void)
// we need a CDvFramePacket pointer to access Frame stuff
autoFrame=(CDvFramePacket*)Packet.get();
if(m_IsOpen)
{
// update important stuff in Frame->m_TCPack for the transcoder
// sets the packet counter, stream id, last_packet, module and start the trip timer
Frame->SetTCParams(m_uiTotalPackets++);
// now send to transcoder
@ -179,6 +189,7 @@ void CCodecStream::Task(void)
// push to our local queue where it can wait for the transcoder