TSDuck v3.40-4033
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::MPEHandlerInterface Class Referenceabstract

MPE (Multi-Protocol Encapsulation) demux handler interface. More...

#include <tsMPEHandlerInterface.h>

Public Member Functions

virtual void handleMPENewPID (MPEDemux &demux, const PMT &pmt, PID pid)=0
 This hook is invoked when a new PID carrying MPE is available.
 
virtual void handleMPEPacket (MPEDemux &demux, const MPEPacket &mpe)=0
 This hook is invoked when a new MPE packet is available.
 

Detailed Description

MPE (Multi-Protocol Encapsulation) demux handler interface.

This abstract interface must be implemented by classes which need to be notified of PID's and packets using a MPEDemux.

Member Function Documentation

◆ handleMPENewPID()

virtual void ts::MPEHandlerInterface::handleMPENewPID ( MPEDemux demux,
const PMT pmt,
PID  pid 
)
pure virtual

This hook is invoked when a new PID carrying MPE is available.

Parameters
[in,out]demuxA reference to the MPE demux.
[in]pmtThe PMT of the service describing this PID.
[in]pidThe PID carrying MPE sections.

◆ handleMPEPacket()

virtual void ts::MPEHandlerInterface::handleMPEPacket ( MPEDemux demux,
const MPEPacket mpe 
)
pure virtual

This hook is invoked when a new MPE packet is available.

Parameters
[in,out]demuxA reference to the MPE demux.
[in]mpeThe MPE packet.

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