# Pmt

class Pmt(pid: Int, version: Byte, service: Mpeg2TsService) : Psi

Created by pedro on 20/8/23.

PMT (Program Map Table)

A type of PSI packet

Reserved bits -> 3 bits PCR PID -> 13 The packet identifier that contains the program clock reference used to improve the random access accuracy of the stream's timing that is derived from the program timestamp. If this is unused. then it is set to 0x1FFF (all bits on). Reserved bits -> 4 Program info length unused bits -> 2 Set to 0 (all bits off) Program info length -> 10 The number of bytes that follow for the program descriptors. Program descriptors -> N8 When the program info length is non-zero, this is the program info length number of program descriptor bytes. Elementary stream info data -> N8

## Constructors

Pmt
Link copied to clipboard
constructor(pid: Int, version: Byte, service: Mpeg2TsService)

## Properties

isKeyFrame
Link copied to clipboard
val isKeyFrame: Boolean
pid
Link copied to clipboard
val pid: Int
version
Link copied to clipboard
var version: Byte

## Functions

getSize
Link copied to clipboard
fun getSize(): Int
getTableDataSize
Link copied to clipboard
open override fun getTableDataSize(): Int
write
Link copied to clipboard
fun write(byteBuffer: ByteBuffer)
writeData
Link copied to clipboard
open override fun writeData(byteBuffer: ByteBuffer)