Section

For more details, refer to the ITU H.222.0 or ISO/IEC 13818-1 specifications and other specifications mentioned in the documentation.

Constructors

this
this(GstMpegtsSection* gstMpegtsSection, bool ownedRef)

Sets our main struct and passes it to the parent class.

this
this(ushort pid, ubyte[] data)

Creates a new #GstMpegtsSection from the provided @data.

Members

Functions

getAtscCvct
AtscVCT getAtscCvct()

Returns the #GstMpegtsAtscVCT contained in the @section

getAtscEit
AtscEIT getAtscEit()

Returns the #GstMpegtsAtscEIT contained in the @section.

getAtscEtt
AtscETT getAtscEtt()

Returns the #GstMpegtsAtscETT contained in the @section.

getAtscMgt
AtscMGT getAtscMgt()

Returns the #GstMpegtsAtscMGT contained in the @section.

getAtscStt
AtscSTT getAtscStt()

Returns the #GstMpegtsAtscSTT contained in the @section.

getAtscTvct
AtscVCT getAtscTvct()

Returns the #GstMpegtsAtscVCT contained in the @section

getBat
BAT getBat()

Returns the #GstMpegtsBAT contained in the @section.

getCat
PtrArray getCat()

Returns the array of #GstMpegtsDescriptor contained in the Conditional Access Table.

getData
Bytes getData()

Gets the original unparsed section data.

getEit
EIT getEit()

Returns the #GstMpegtsEIT contained in the @section.

getNit
NIT getNit()

Returns the #GstMpegtsNIT contained in the @section.

getPat
PtrArray getPat()

Parses a Program Association Table (ITU H.222.0, ISO/IEC 13818-1).

getPmt
PMT getPmt()

Returns the #GstMpegtsPMT contained in the @section.

getSdt
SDT getSdt()

Returns the #GstMpegtsSDT contained in the @section.

getSectionStruct
GstMpegtsSection* getSectionStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getTdt
DateTime getTdt()

Returns the #GstDateTime of the TDT

getTot
TOT getTot()

Returns the #GstMpegtsTOT contained in the @section.

getTsdt
PtrArray getTsdt()

Returns the array of #GstMpegtsDescriptor contained in the section

packetize
ubyte[] packetize()

If the data in @section has already been packetized, the data pointer is returned immediately. Otherwise, the data field is allocated and populated.

sendEvent
bool sendEvent(Element element)

Creates a custom #GstEvent with a @GstMpegtsSection. The #GstEvent is sent to the @element #GstElement.

Static functions

eventParseMpegtsSection
Section eventParseMpegtsSection(Event event)

Extracts the #GstMpegtsSection contained in the @event #GstEvent

fromNit
Section fromNit(NIT nit)

Ownership of @nit is taken. The data in @nit is managed by the #GstMpegtsSection

fromPat
Section fromPat(PtrArray programs, ushort tsId)

Creates a PAT #GstMpegtsSection from the @programs array of #GstMpegtsPatPrograms

fromPmt
Section fromPmt(PMT pmt, ushort pid)

Creates a #GstMpegtsSection from @pmt that is bound to @pid

fromSdt
Section fromSdt(SDT sdt)

Ownership of @sdt is taken. The data in @sdt is managed by the #GstMpegtsSection

getType
GType getType()
messageNewMpegtsSection
Message messageNewMpegtsSection(ObjectGst parent, Section section)

Creates a new #GstMessage for a @GstMpegtsSection.

messageParseMpegtsSection
Section messageParseMpegtsSection(Message message)

Returns the #GstMpegtsSection contained in a message.

Variables

gstMpegtsSection
GstMpegtsSection* gstMpegtsSection;

the main Gtk struct

ownedRef
bool ownedRef;
Undocumented in source.

Meta