Back to Exoplayer

TsPayloadReader.EsInfo (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/extractor/ts/TsPayloadReader.EsInfo.html

latest2.9 KB
Original Source

Package com.google.android.exoplayer2.extractor.ts

Class TsPayloadReader.EsInfo


public static final classTsPayloadReader.EsInfoextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")

Holds information associated with a PMT entry.

Field Summary

Fields | Modifier and Type | Field | Description | | --- | --- | --- | | byte[] | descriptorBytes | | | List<TsPayloadReader.DvbSubtitleInfo> | dvbSubtitleInfos | | | String | language | | | int | streamType | |

Constructor Summary

Constructors | Constructor | Description | | --- | --- | | EsInfo​(int streamType, String language, List<TsPayloadReader.DvbSubtitleInfo> dvbSubtitleInfos, byte[] descriptorBytes) | |

Method Summary

- 

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

- 

streamType

public final int streamType
- 

language

@Nullable
public final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")language
- 

dvbSubtitleInfos

public final[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[TsPayloadReader.DvbSubtitleInfo](TsPayloadReader.DvbSubtitleInfo.html "class in com.google.android.exoplayer2.extractor.ts")> dvbSubtitleInfos
- 

descriptorBytes

public final byte[] descriptorBytes

Constructor Detail

- 

EsInfo

public EsInfo​(int streamType,
              @Nullable[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")language,
              @Nullable[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[TsPayloadReader.DvbSubtitleInfo](TsPayloadReader.DvbSubtitleInfo.html "class in com.google.android.exoplayer2.extractor.ts")> dvbSubtitleInfos,
              byte[] descriptorBytes)

Parameters:streamType - The type of the stream as defined by the TsExtractor .TS_STREAM_TYPE_*.language - The language of the stream, as defined by ISO/IEC 13818-1, section 2.6.18.dvbSubtitleInfos - Information about DVB subtitles associated to the stream.descriptorBytes - The descriptor bytes associated to the stream.