public class MPEGProgram
extends java.lang.Object
| Constructor and Description |
|---|
MPEGProgram(int pn,
int pid) |
| Modifier and Type | Method and Description |
|---|---|
void |
addIPDestination(java.lang.String ipAndPort)
Adds an individual target address for the case that this program is retransmitted via IP.
|
int[][] |
getDescriptors(int forPID)
Returns an [2][n] dimensional array holding descriptor types in slot[0][n] and values in slot[1][n] if there
where any stream descriptors read from the source stream.
|
java.lang.String[] |
getIPDestinations() |
int |
getPMT_PID()
Returns the stream ID used for this program's PMT tables.
|
int |
getProgramNr() |
int[][] |
getStreams()
Returns a [2][n] dimensional array holding elementary stream PIDs and the respective streamtypes.
|
void |
setStreams(int[] es_pids,
int[] es_stypes,
int[] es_desc_types,
int[] es_desc)
Public for package design reasons, do not use
|
java.lang.String |
toString() |
public void setStreams(int[] es_pids,
int[] es_stypes,
int[] es_desc_types,
int[] es_desc)
public int getProgramNr()
public int getPMT_PID()
public int[][] getStreams()
public int[][] getDescriptors(int forPID)
public java.lang.String toString()
toString in class java.lang.Objectpublic void addIPDestination(java.lang.String ipAndPort)
public java.lang.String[] getIPDestinations()