Page 1 of 1

puzzle: why we launch a demux on VLS

Posted: 02 Aug 2006 05:36
by rackeychen
I am a new developer in this project. These days I was reading the codes. Now I found a demux was loaded in the code.

===================================
m_pConverter->Create();

// Add a filter for PAT
SelectPid(&m_cPatDecoder, 0x0000, TS_TYPE_NULL);

// Wait for the first PAT
m_cEndInit.Wait();
m_cEndInit.Release();
m_iGotTpid = dvb->chans[iIndex].tpid; // Remember the transponder

===============================================
why we launch a demux at server end? In my mind, demux is used to get the specific program from a TS stream. Can this task be put at the receive-end? Or this design has some other special consideration?
thx.