# Mpeg2TsService

data class Mpeg2TsService(val type: Byte = 1, val id: Short = 18072, val name: String = "Mpeg2TsService", val providerName: String = "com.pedro.srt", var pmt: Pmt? = null, val tracks: MutableList<Track> = mutableListOf(), var pcrPid: Short? = null)

Created by pedro on 26/8/23.

## Constructors

Mpeg2TsService
Link copied to clipboard
constructor(type: Byte = 1, id: Short = 18072, name: String = "Mpeg2TsService", providerName: String = "com.pedro.srt", pmt: Pmt? = null, tracks: MutableList<Track> = mutableListOf(), pcrPid: Short? = null)

## Properties

id
Link copied to clipboard
val id: Short
name
Link copied to clipboard
val name: String
pcrPid
Link copied to clipboard
var pcrPid: Short?
pmt
Link copied to clipboard
var pmt: Pmt?
providerName
Link copied to clipboard
val providerName: String
tracks
Link copied to clipboard
val tracks: MutableList<Track>
type
Link copied to clipboard
val type: Byte

## Functions

addTrack
Link copied to clipboard
fun addTrack(codec: Codec)
clear
Link copied to clipboard
fun clear()
clearTracks
Link copied to clipboard
fun clearTracks()
generatePmt
Link copied to clipboard
fun generatePmt()