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


Public Member Functions | |
| TSScanner (DuckContext &duck, Tuner &tuner, cn::milliseconds timeout, bool pat_only=false) | |
| void | getMGT (std::shared_ptr< MGT > &mgt) const |
| void | getNIT (std::shared_ptr< NIT > &nit) const |
| void | getPAT (std::shared_ptr< PAT > &pat) const |
| void | getSDT (std::shared_ptr< SDT > &sdt) const |
| bool | getServices (ServiceList &services) const |
| void | getTunerParameters (ModulationArgs &tp) const |
| void | getVCT (std::shared_ptr< VCT > &vct) const |
A class which scans the services of a transport stream.
| ts::TSScanner::TSScanner | ( | DuckContext & | duck, |
| Tuner & | tuner, | ||
| cn::milliseconds | timeout, | ||
| bool | pat_only = false ) |
Constructor. The transport stream is scanned be the constructor. The collected data can be fetched later.
| [in,out] | duck | TSDuck execution context. The reference is kept inside the scanner. |
| [in,out] | tuner | A tuner which is already tuned to the expected channel. |
| [in] | timeout | Execution timeout in milliseconds. |
| [in] | pat_only | If true, only collect the PAT, do not wait for more information. |
| bool ts::TSScanner::getServices | ( | ServiceList & | services | ) | const |
Get the list of services.
| [out] | services | Returned list of services. |
|
inline |
Get the tuner parameters of the transport stream.
| [out] | tp | Returned safe pointer to the tuner parameters. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |