org.davic.mpeg.ElementaryStream Maven / Gradle / Ivy
The newest version!
package org.davic.mpeg;
/**
* This class represents one elementary stream within a transport stream.
* If an elementary stream belongs to multiple services then it will be
* represented by multiple instances one instance for each parent service.
*
*/
public abstract class ElementaryStream
{
protected ElementaryStream()
{
}
/**
* @return a reference to the Service object that
* represents the service in which this Elementary Stream is contained.
*
*/
public Service getService()
{
return null;
}
/**
* @return the PID value of MPEG-2 Transport Stream packets that carry
* this elementary stream.
*/
public int getPID()
{
return 0;
}
/**
* @return the DSM-CC association tag of this elementary stream, or
* null if none is present.
*/
public Integer getAssociationTag()
{
return null;
}
}