![]() |
TSDuck v3.46-4964
MPEG Transport Stream Toolkit
|
#include <tsCASMapper.h>


Public Member Functions | |
| CASMapper (DuckContext &duck) | |
| CASID | casId (PID pid) const |
| void | feedPacket (const TSPacket &pkt) |
| bool | getCADescriptor (PID pid, CADescriptorPtr &desc) const |
| bool | isECM (PID pid) const |
| bool | isEMM (PID pid) const |
| bool | knownPID (PID pid) const |
| void | reset () |
| void | setCurrentNext (bool current, bool next) |
| void | trackInvalidSectionVersions (bool on) |
This class maps PID's with CA system ids.
All packets are passed through this object. It tracks the location of all EMM and ECM PID's and records the corresponding CAS attributes.
| ts::CASMapper::CASMapper | ( | DuckContext & | duck | ) |
Constructor.
| [in,out] | duck | TSDuck execution context. The reference is kept inside this object. |
| void ts::CASMapper::reset | ( | ) |
Reset the CAS mapper.
|
inline |
This method feeds the CAS mapper with a TS packet.
| [in] | pkt | A new transport stream packet. |
|
inline |
Filter PSI tables based on current/next indicator.
| [in] | current | Use "current" tables. This is true by default. |
| [in] | next | Use "next" tables. This is false by default. |
|
inline |
Track / untrack invalid section version numbers. By default, if a section version does not change, the section is ignored. When this tracking is enabled, the content of the sections are tracked and a table is demuxed when a section version does not change but the content changes. This is considered as an error according to MPEG rules.
| [in] | on | Track invalid section versions. This is false by default. |
|
inline |
| bool ts::CASMapper::isECM | ( | PID | pid | ) | const |
| bool ts::CASMapper::isEMM | ( | PID | pid | ) | const |
| bool ts::CASMapper::getCADescriptor | ( | PID | pid, |
| CADescriptorPtr & | desc ) const |