org.ocap.si
Interface PATProgram


public interface PATProgram

This interface represents an program block in the information loop of the MPEG-2 PAT.Each PAT will contain a loop of these blocks.


Method Summary
 int getPID()
          Get the program_map_PID field.
 int getProgramNumber()
          Get the program_number field.
 

Method Detail

getProgramNumber

int getProgramNumber()
Get the program_number field. Sixteen bit field, specifies the program to which the program_map_PID applies. If the value is 0x0000, the program_map_PID, as returned bygetPID(), references the network PID.

Returns:
The program number.

getPID

int getPID()
Get the program_map_PID field. Thirteen bit field specifying the PID of the transport stream packets.

Returns:
The program map PID.