|
|
|
@ -48,7 +48,7 @@ CCodecStream::CCodecStream(CPacketStream *PacketStream, uint16_t streamid, ECode
|
|
|
|
CCodecStream::~CCodecStream()
|
|
|
|
CCodecStream::~CCodecStream()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// close socket
|
|
|
|
// close socket
|
|
|
|
m_TCReader->Close();
|
|
|
|
//m_TCReader->Close();
|
|
|
|
|
|
|
|
|
|
|
|
// kill threads
|
|
|
|
// kill threads
|
|
|
|
keep_running = false;
|
|
|
|
keep_running = false;
|
|
|
|
@ -185,5 +185,6 @@ void CCodecStream::Task(void)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
//std::cout << "transcoder packet timeout" << std::endl;
|
|
|
|
//std::cout << "transcoder packet timeout" << std::endl;
|
|
|
|
m_uiTimeoutPackets++;
|
|
|
|
m_uiTimeoutPackets++;
|
|
|
|
|
|
|
|
m_TimeoutTimer.start();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|