|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.humatic.dsj.util.MPEGProgram
public class MPEGProgram
Struct describing a single program within an MPEG stream. This is mainly used with TransportStreams carrying multiple programs. Constructor and setters are public for package design reasons, Application code does not construct instances of this class, but calls MPEGSource.getPrograms() to get an array of programs within an opened stream.
| Constructor Summary | |
|---|---|
MPEGProgram(int pn,
int pid)
|
|
| Method Summary | |
|---|---|
void |
addIPDestination(java.lang.String ipAndPort)
Adds an individual target address for the case that this program is retransmitted via IP. |
java.lang.String[] |
getIPDestinations()
|
int |
getPMT_PID()
Returns the stream ID used for this program's PMT tables. |
int |
getProgramNr()
|
int[][] |
getStreams()
Returns a two dimensional array holding elementary stream PIDs and the respective streamtypes. |
void |
setStreams(int[] es_pids,
int[] es_stypes)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MPEGProgram(int pn,
int pid)
| Method Detail |
|---|
public void setStreams(int[] es_pids,
int[] es_stypes)
public int getProgramNr()
public int getPMT_PID()
public int[][] getStreams()
public java.lang.String toString()
toString in class java.lang.Objectpublic void addIPDestination(java.lang.String ipAndPort)
public java.lang.String[] getIPDestinations()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||