public static interface ElementaryStreamReader.Factory
ElementaryStreamReader
instances.Modifier and Type | Method and Description |
---|---|
ElementaryStreamReader |
createStreamReader(int streamType,
ElementaryStreamReader.EsInfo esInfo)
Returns an
ElementaryStreamReader for a given PMT entry. |
ElementaryStreamReader createStreamReader(int streamType, ElementaryStreamReader.EsInfo esInfo)
ElementaryStreamReader
for a given PMT entry. May return null if the
stream type is not supported or if the stream already has a reader assigned to it.streamType
- Stream type value as defined in the PMT entry or associated descriptors.esInfo
- Information associated to the elementary stream provided in the PMT.ElementaryStreamReader
for the elementary streams carried by the provided
pid. null
if the stream is not supported or if it should be ignored.