TSDuck v3.46-4965
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
tsTSPacket.h File Reference

Classes

class  ts::TSPacket

Namespaces

namespace  ts
 TSDuck namespace, containing all TSDuck classes and functions.

Typedefs

using ts::PacketBuffer = ResidentBuffer<TSPacket>
using ts::TSPacketPtr = std::shared_ptr<TSPacket>
using ts::TSPacketVector = std::vector<TSPacket>

Functions

std::ostream & operator<< (std::ostream &strm, const ts::TSPacket &pkt)

Variables

const TSPacket ts::EmptyPacket
const TSPacket ts::NullPacket

Detailed Description

Basic definition of an MPEG-2 transport packet.

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & strm,
const ts::TSPacket & pkt )
inline

Output operator for the class ts::TSPacket on standard text streams.

Parameters
[in,out]strmA standard stream in output mode.
[in]pktTS packet object.
Returns
A reference to the strm object.