TSDuck v3.44-4554
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::mcast::FECTransmissionInformation Class Reference

Representation of the FEC Transmission Information in FLUTE headers. More...

#include <tsmcastFECTransmissionInformation.h>

Inheritance diagram for ts::mcast::FECTransmissionInformation:
Collaboration diagram for ts::mcast::FECTransmissionInformation:

Public Member Functions

 FECTransmissionInformation ()=default
 Default constructor.
 
void clear ()
 Clear the content of a structure.
 
bool deserialize (uint8_t fec_encoding_id, const uint8_t *addr, size_t size)
 Deserialize the structure from a binary area.
 
virtual UString toString () const override
 Convert to a string object.
 

Public Attributes

uint16_t encoding_symbol_length = 0
 Length of Encoding Symbol in bytes (FEC Encoding ID 0, 128, 129, 130).
 
uint8_t fec_encoding_id = 0
 FEC Encoding ID which was used to parse the structure (not part of the structore).
 
uint16_t fec_instance_id = 0
 FEC Instance ID (FEC Encoding ID 128-255).
 
uint16_t max_encoding_symbols = 0
 Max number of encoding symbols (FEC Encoding ID 129).
 
uint32_t max_source_block_length = 0
 Max number of source symbols per source block (FEC Encoding ID 0, 128, 129, 130).
 
uint64_t transfer_length = 0
 The length of the transport object that carries the file in bytes.
 

Detailed Description

Representation of the FEC Transmission Information in FLUTE headers.

See also
IETF RFC 3926, section 5.1.1

If a file is not content-encoded, the transfer length is the same as the file length.

Member Function Documentation

◆ deserialize()

bool ts::mcast::FECTransmissionInformation::deserialize ( uint8_t  fec_encoding_id,
const uint8_t *  addr,
size_t  size 
)

Deserialize the structure from a binary area.

Parameters
[in]fec_encoding_idFEC Encoding ID, required to interpret the format of the binary area.
[in]addrAddress of binary area.
[in]sizeSize of binary area.
Returns
True on success, false on error. Same as valid field.

◆ toString()

virtual UString ts::mcast::FECTransmissionInformation::toString ( ) const
overridevirtual

Convert to a string object.

Returns
This object, converted as a string.

Implements ts::StringifyInterface.


The documentation for this class was generated from the following file: