# MpegTsPacket

data class MpegTsPacket(val buffer: ByteArray, val type: MpegType, val packetPosition: PacketPosition, val isKey: Boolean)

Created by pedro on 20/8/23.

Contains multiple TS packets in a buffer no longer to MTU - data header size

## Constructors

MpegTsPacket
Link copied to clipboard
constructor(buffer: ByteArray, type: MpegType, packetPosition: PacketPosition, isKey: Boolean)

## Properties

buffer
Link copied to clipboard
val buffer: ByteArray
isKey
Link copied to clipboard
val isKey: Boolean
packetPosition
Link copied to clipboard
val packetPosition: PacketPosition
type
Link copied to clipboard
val type: MpegType