there are 3 reqs to push a packet to the CodecStream

pull/1/head
Tom Early 3 years ago
parent f6138584e0
commit a6e07d27c2

@ -86,8 +86,10 @@ void CPacketStream::Push(std::unique_ptr<CPacket> Packet)
{
Packet->UpdatePids(m_uiPacketCntr++);
}
// transcoder avaliable and is this a DvFramePacket?
if ( m_CodecStream && Packet->IsDvFrame())
// ... Is there a CodecStream (is this module transcoded)?
// AND Is this voice data?
// AND Is this from a local client and not from an interlinked URF
if ( m_CodecStream && Packet->IsDvFrame() && Packet->IsLocalOrigin())
{
// yes, push packet to trancoder queue
// trancoder will push it after transcoding

Loading…
Cancel
Save

Powered by TurnKey Linux.