Shaka Packager SDK
Loading...
Searching...
No Matches
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.

Constructor & Destructor Documentation

◆ ProgramMapTableWriter()

shaka::media::mp2t::ProgramMapTableWriter::ProgramMapTableWriter ( Codec  codec)
explicit

Definition at line 218 of file program_map_table_writer.cc.

Member Function Documentation

◆ ClearSegmentPmt()

bool shaka::media::mp2t::ProgramMapTableWriter::ClearSegmentPmt ( BufferWriter writer)
virtual

Writes TS packets with PMT for clear segments.

Definition at line 257 of file program_map_table_writer.cc.

◆ codec()

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

Definition at line 48 of file program_map_table_writer.h.

◆ EncryptedSegmentPmt()

bool shaka::media::mp2t::ProgramMapTableWriter::EncryptedSegmentPmt ( BufferWriter writer)
virtual

Writes TS packets with PMT for encrypted segments.

Definition at line 220 of file program_map_table_writer.cc.

Member Data Documentation

◆ kElementaryPid

const uint8_t shaka::media::mp2t::ProgramMapTableWriter::kElementaryPid = 0x50
static

Definition at line 44 of file program_map_table_writer.h.

◆ kPmtPid

const uint8_t shaka::media::mp2t::ProgramMapTableWriter::kPmtPid = 0x20
static

Definition at line 41 of file program_map_table_writer.h.


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