All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ocap.si.PMTElementaryStreamInfo Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version
/*
 * PMTElementaryStreamInfo.java
 */
package org.ocap.si;

/**
 * This interface represents an MPEG-2 PMT Elementary Stream Info loop. 
 * Each PMT will contain a loop of these blocks, as a block per an 
 * elementary stream.
 */
public interface PMTElementaryStreamInfo
{
    /**
     * Get the stream_type field.  Eight bit field specifying the type 
     * of program element carried within the packets within the PID 
     * returned by getElementaryPID().  See the StreamType interface for 
     * defined values.
     *
     * @return The stream type.
     */
    public short getStreamType();


    /**
     * Get the elementary_PID field.  Thirteen bit field specifying the 
     * PID of the associated elementary stream.
     *
     * @return The elementary PID.
     */
    public short getElementaryPID();


    /**
     * Get the descriptors associated with the elementary stream.
     *
     * @return The descriptor loop.
     */
    public Descriptor[] getDescriptorLoop();


    /**
     * Get the locator for the elementary stream.
     * 

* For an Inband PMT, the returned OcapLocator * corresponds to one of the following OCAP URL forms: *

* ocap://source_id.@<component_tag>{&<component_tag>}
* ocap://source_id.+PID
* ocap://f=frequency.program_number.@<component_tag>{&<component_tag>}
* ocap://f=frequency.program_number.+PID *

* The forms including the PID are returned if and only if no component * tags are signaled. *
* The form returned (apart from the component tag and PID elements) * must correspond to the form of the OCAP URL * passed to the previous call to * ProgramMapTableManager.retrieveInBand() * or * ProgramMapTableManager.addInBandChangeListener(). *

* For an OOB PMT, the returned OcapLocator * corresponds to one of the following OCAP URL forms: *

* ocap://oobfdc.program_number.@<component_tag>{&<component_tag>}
* ocap://oobfdc.program_number.+PID *

* The form including the PID is returned if and only if no component tags * are signaled. *
*

* @return The string which represents the URL of the elementary stream * represented by this PMTElementaryStreamInfo. */ public java.lang.String getLocatorString(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy