TsPayloadReader.EsInfo

class TsPayloadReader.EsInfo


Holds information associated with a PMT entry.

Summary

Nested types

@Documented
@Retention(value = SOURCE)
@Target(value = TYPE_USE)
@IntDef(value = )
annotation TsPayloadReader.EsInfo.AudioType

The audio type of the stream, as defined by ISO/IEC 13818-1, section 2.6.18.

Constants

const Int

Indicates the track has no language.

const Int

Indicates the track is prepared for the hearing impaired.

const Int
const Int

Indicates the track is prepared for the visually impaired viewer.

Public constructors

EsInfo(
    streamType: Int,
    language: String?,
    @TsPayloadReader.EsInfo.AudioType audioType: Int,
    dvbSubtitleInfos: (Mutable)List<TsPayloadReader.DvbSubtitleInfo!>?,
    descriptorBytes: ByteArray!
)

Public functions

Int

Constants

AUDIO_TYPE_CLEAN_EFFECTS

const val AUDIO_TYPE_CLEAN_EFFECTS = 1: Int

Indicates the track has no language.

AUDIO_TYPE_HEARING_IMPAIRED

const val AUDIO_TYPE_HEARING_IMPAIRED = 2: Int

Indicates the track is prepared for the hearing impaired.

AUDIO_TYPE_UNDEFINED

const val AUDIO_TYPE_UNDEFINED = 0: Int

AUDIO_TYPE_VISUAL_IMPAIRED_COMMENTARY

const val AUDIO_TYPE_VISUAL_IMPAIRED_COMMENTARY = 3: Int

Indicates the track is prepared for the visually impaired viewer.

Public constructors

EsInfo

EsInfo(
    streamType: Int,
    language: String?,
    @TsPayloadReader.EsInfo.AudioType audioType: Int,
    dvbSubtitleInfos: (Mutable)List<TsPayloadReader.DvbSubtitleInfo!>?,
    descriptorBytes: ByteArray!
)
Parameters
streamType: Int

The type of the stream as defined by the TsExtractor .TS_STREAM_TYPE_*.

language: String?

The language of the stream, as defined by ISO/IEC 13818-1, section 2.6.18.

@TsPayloadReader.EsInfo.AudioType audioType: Int

The audio type of the stream, as defined by ISO/IEC 13818-1, section 2.6.18.

dvbSubtitleInfos: (Mutable)List<TsPayloadReader.DvbSubtitleInfo!>?

Information about DVB subtitles associated to the stream.

descriptorBytes: ByteArray!

The descriptor bytes associated to the stream.

Public functions

getRoleFlags

@C.RoleFlags
fun getRoleFlags(): Int

Public properties

descriptorBytes

val descriptorBytesByteArray<Byte>!

language

val languageString?

streamType

val streamTypeInt