Pat

class Pat(idExtension: Short, var version: Byte, var service: Mpeg2TsService) : Psi

Created by pedro on 24/8/23.

PAT (Program Association Table)

A type of PSI packet

Program num -> 16 bits Reserved bits -> 3 bits Program map PID -> 13 bits

Constructors

Link copied to clipboard
constructor(idExtension: Short, version: Byte, service: Mpeg2TsService)

Properties

Link copied to clipboard
val isKeyFrame: Boolean = false
Link copied to clipboard
val pid: Int
Link copied to clipboard
Link copied to clipboard

Functions

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