org.dvb.si
Interface PMTElementaryStream

All Superinterfaces:
SIInformation

public interface PMTElementaryStream
extends SIInformation

This interface represents an elementary stream of a service.

For each running service there is a PMT describing the elementary streams of the service. An object that implements this interface represents one such elementary stream. Each object that implements the PMTElementaryStream interface is identified by the combination of the identifiers original_network_id, transport_stream_id, service_id, component_tag (or elementary_PID).

See Also:
PMTService, PMTStreamType

Field Summary
 
Fields inherited from interface org.dvb.si.SIInformation
FROM_CACHE_ONLY, FROM_CACHE_OR_STREAM, FROM_STREAM_ONLY
 
Method Summary
 int getComponentTag()
          Get the component tag identifier.
 DvbLocator getDvbLocator()
          Gets a DvbLocator that identifies this elementary stream
 short getElementaryPID()
          Get the elementary PID.
 int getOriginalNetworkID()
          Get the original network identification identifier.
 int getServiceID()
          Get the service identification identifier.
 byte getStreamType()
          Get the stream type of this elementary stream.
 int getTransportStreamID()
          Get the transport stream identification identifier.
 
Methods inherited from interface org.dvb.si.SIInformation
fromActual, getDataSource, getDescriptorTags, getSIDatabase, getUpdateTime, retrieveDescriptors, retrieveDescriptors
 

Method Detail

getDvbLocator

public DvbLocator getDvbLocator()
Gets a DvbLocator that identifies this elementary stream

Returns:
The DvbLocator of this elementary stream

getOriginalNetworkID

public int getOriginalNetworkID()
Get the original network identification identifier.

Returns:
The original network identification.

getTransportStreamID

public int getTransportStreamID()
Get the transport stream identification identifier.

Returns:
The transport stream identification.

getServiceID

public int getServiceID()
Get the service identification identifier.

Returns:
The service identification.

getComponentTag

public int getComponentTag()
Get the component tag identifier.

Returns:
The component tag. If the elementary stream does not have an associated component tag, this method returns -2.

getStreamType

public byte getStreamType()
Get the stream type of this elementary stream. The value returned shall be the actual value from the descriptor loop and is not limited to the set of values defined in PMTStreamType.

Returns:
The stream type (some of the possible values are defined in the PMTStreamType interface).
See Also:
PMTStreamType

getElementaryPID

public short getElementaryPID()
Get the elementary PID.

Returns:
The PID the data of elementary stream is sent on in the transport stream.