![]() |
TSDuck v3.46-4965
MPEG Transport Stream Toolkit
|
#include <tsTSFuzzing.h>
Public Member Functions | |
| TSFuzzing (DuckContext &duck) | |
| bool | processPacket (TSPacket &pkt) |
| bool | start (const TSFuzzingArgs &options) |
Transport stream packets fuzzing. This class performs random corruptions on transport streams packets.
|
inline |
Constructor.
| [in,out] | duck | TSDuck execution context. The reference is kept inside this object. |
| bool ts::TSFuzzing::start | ( | const TSFuzzingArgs & | options | ) |
Initialize the fuzzing operations.
| [in] | options | Fuzzing options. |
| bool ts::TSFuzzing::processPacket | ( | TSPacket & | pkt | ) |
Process one packet from the stream.
| [in,out] | pkt | A TS packet from the stream. It may be corrupted on output, based on fuzzing options. |