Shaka Packager SDK
Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
shaka::media::mp2t::ProgramMapTableWriter Class Referenceabstract

Puts PMT into TS packets and writes them to buffer. More...

#include <program_map_table_writer.h>

Inheritance diagram for shaka::media::mp2t::ProgramMapTableWriter:
shaka::media::mp2t::AudioProgramMapTableWriter shaka::media::mp2t::VideoProgramMapTableWriter

Public Member Functions

 ProgramMapTableWriter (Codec codec)
 
virtual bool EncryptedSegmentPmt (BufferWriter *writer)
 Writes TS packets with PMT for encrypted segments.
 
virtual bool ClearSegmentPmt (BufferWriter *writer)
 Writes TS packets with PMT for clear segments.
 

Static Public Attributes

static const uint8_t kPmtPid = 0x20
 
static const uint8_t kElementaryPid = 0x50
 

Protected Member Functions

Codec codec () const
 

Detailed Description

Puts PMT into TS packets and writes them to buffer.

Definition at line 26 of file program_map_table_writer.h.

Member Function Documentation

◆ codec()

Codec shaka::media::mp2t::ProgramMapTableWriter::codec ( ) const
inlineprotected
Returns
the underlying codec.

Definition at line 48 of file program_map_table_writer.h.


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