public final class

TsPayloadReader.EsInfo

extends java.lang.Object

 java.lang.Object

↳androidx.media3.extractor.ts.TsPayloadReader.EsInfo

Overview

Holds information associated with a PMT entry.

Summary

Fields
public static final intAUDIO_TYPE_CLEAN_EFFECTS

Indicates the track has no language.

public static final intAUDIO_TYPE_HEARING_IMPAIRED

Indicates the track is prepared for the hearing impaired.

public static final intAUDIO_TYPE_UNDEFINED

public static final intAUDIO_TYPE_VISUAL_IMPAIRED_COMMENTARY

Indicates the track is prepared for the visually impaired viewer.

public final intaudioType

public final byte[]descriptorBytes

public final java.util.List<TsPayloadReader.DvbSubtitleInfo>dvbSubtitleInfos

public final java.lang.Stringlanguage

public final intstreamType

Constructors
publicEsInfo(int streamType, java.lang.String language, int audioType, java.util.List<TsPayloadReader.DvbSubtitleInfo> dvbSubtitleInfos, byte[] descriptorBytes[])

Methods
public intgetRoleFlags()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public static final int AUDIO_TYPE_UNDEFINED

public static final int AUDIO_TYPE_CLEAN_EFFECTS

Indicates the track has no language.

public static final int AUDIO_TYPE_HEARING_IMPAIRED

Indicates the track is prepared for the hearing impaired.

public static final int AUDIO_TYPE_VISUAL_IMPAIRED_COMMENTARY

Indicates the track is prepared for the visually impaired viewer.

public final int streamType

public final java.lang.String language

public final int audioType

public final java.util.List<TsPayloadReader.DvbSubtitleInfo> dvbSubtitleInfos

public final byte[] descriptorBytes

Constructors

public EsInfo(int streamType, java.lang.String language, int audioType, java.util.List<TsPayloadReader.DvbSubtitleInfo> 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.
audioType: The audio type 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.

Methods

public int getRoleFlags()