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


Public Member Functions | |
| FluteAnalyzer (DuckContext &duck) | |
| template<class Rep, class Period> | |
| void | feedPacket (const cn::duration< Rep, Period > ×tamp, const IPPacket &pkt) |
| template<class Rep, class Period> | |
| void | feedPacket (const cn::duration< Rep, Period > ×tamp, const IPSocketAddress &source, const IPSocketAddress &destination, const uint8_t *udp, size_t udp_size) |
| void | printSummary (std::ostream &out=std::cout) |
| bool | reset (const FluteAnalyzerArgs &args) |
FLUTE analyzer with extraction and reporting.
| ts::mcast::FluteAnalyzer::FluteAnalyzer | ( | DuckContext & | duck | ) |
Constructor.
| [in,out] | duck | TSDuck execution context. A reference is kept in this object. |
| bool ts::mcast::FluteAnalyzer::reset | ( | const FluteAnalyzerArgs & | args | ) |
Reset the analysis.
| [in] | args | Analysis arguments. |
|
inline |
|
inline |
The following method feeds the analyzer with a UDP packet.
| [in] | timestamp | Packet time stamp value. This value should be taken from a monotonic clock. |
| [in] | source | Source socket address. |
| [in] | destination | Destination socket address. |
| [in] | udp | Address of UDP payload. |
| [in] | udp_size | Size in bytes of UDP payload. |
| void ts::mcast::FluteAnalyzer::printSummary | ( | std::ostream & | out = std::cout | ) |
Print a summary of the FLUTE session. Print nothing of option summary was not specified.
| [in,out] | out | Where to print the summary if no output file was specified in FluteAnalyzerArgs. Ignored when an output file was specified. |