docs/doc/reference/com/google/android/exoplayer2/source/dash/manifest/DashManifestParser.html
Package com.google.android.exoplayer2.source.dash.manifest
All Implemented Interfaces:ParsingLoadable.Parser<DashManifest>, ContentHandler, DTDHandler, EntityResolver, ErrorHandler
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public classDashManifestParserextends[DefaultHandler](https://developer.android.com/reference/org/xml/sax/helpers/DefaultHandler.html "class or interface in org.xml.sax.helpers")implements[ParsingLoadable.Parser](../../../upstream/ParsingLoadable.Parser.html "interface in com.google.android.exoplayer2.upstream")<[DashManifest](DashManifest.html "class in com.google.android.exoplayer2.source.dash.manifest")>
Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
A parser of media presentation description files.
Nested Classes | Modifier and Type | Class | Description |
| --- | --- | --- |
| protected static class | DashManifestParser.RepresentationInfo |
Deprecated.
A parsed Representation element. |
Constructors | Constructor | Description |
| --- | --- |
| DashManifestParser() |
Deprecated.
|
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| protected AdaptationSet | buildAdaptationSet(long id, @com.google.android.exoplayer2.C.TrackType int contentType, List<Representation> representations, List<Descriptor> accessibilityDescriptors, List<Descriptor> essentialProperties, List<Descriptor> supplementalProperties) |
Deprecated.
|
| protected EventMessage | buildEvent(String schemeIdUri, String value, long id, long durationMs, byte[] messageData) |
Deprecated.
|
| protected EventStream | buildEventStream(String schemeIdUri, String value, long timescale, long[] presentationTimesUs, EventMessage[] events) |
Deprecated.
|
| protected Format | buildFormat(String id, String containerMimeType, int width, int height, float frameRate, int audioChannels, int audioSamplingRate, int bitrate, String language, List<Descriptor> roleDescriptors, List<Descriptor> accessibilityDescriptors, String codecs, List<Descriptor> essentialProperties, List<Descriptor> supplementalProperties) |
Deprecated.
|
| protected DashManifest | buildMediaPresentationDescription(long availabilityStartTime, long durationMs, long minBufferTimeMs, boolean dynamic, long minUpdateTimeMs, long timeShiftBufferDepthMs, long suggestedPresentationDelayMs, long publishTimeMs, ProgramInformation programInformation, UtcTimingElement utcTiming, ServiceDescriptionElement serviceDescription, Uri location, List<Period> periods) |
Deprecated.
|
| protected Period | buildPeriod(String id, long startMs, List<AdaptationSet> adaptationSets, List<EventStream> eventStreams, Descriptor assetIdentifier) |
Deprecated.
|
| protected RangedUri | buildRangedUri(String urlText, long rangeStart, long rangeLength) |
Deprecated.
|
| protected Representation | buildRepresentation(DashManifestParser.RepresentationInfo representationInfo, String label, String extraDrmSchemeType, ArrayList<DrmInitData.SchemeData> extraDrmSchemeDatas, ArrayList<Descriptor> extraInbandEventStreams) |
Deprecated.
|
| protected SegmentBase.SegmentList | buildSegmentList(RangedUri initialization, long timescale, long presentationTimeOffset, long startNumber, long duration, List<SegmentBase.SegmentTimelineElement> timeline, long availabilityTimeOffsetUs, List<RangedUri> segments, long timeShiftBufferDepthMs, long periodStartUnixTimeMs) |
Deprecated.
|
| protected SegmentBase.SegmentTemplate | buildSegmentTemplate(RangedUri initialization, long timescale, long presentationTimeOffset, long startNumber, long endNumber, long duration, List<SegmentBase.SegmentTimelineElement> timeline, long availabilityTimeOffsetUs, UrlTemplate initializationTemplate, UrlTemplate mediaTemplate, long timeShiftBufferDepthMs, long periodStartUnixTimeMs) |
Deprecated.
|
| protected SegmentBase.SegmentTimelineElement | buildSegmentTimelineElement(long startTime, long duration) |
Deprecated.
|
| protected SegmentBase.SingleSegmentBase | buildSingleSegmentBase(RangedUri initialization, long timescale, long presentationTimeOffset, long indexStart, long indexLength) |
Deprecated.
|
| protected UtcTimingElement | buildUtcTimingElement(String schemeIdUri, String value) |
Deprecated.
|
| static void | maybeSkipTag(XmlPullParser xpp) |
Deprecated.
If the provided XmlPullParser is currently positioned at the start of a tag, skips forward to the end of that tag.
|
| DashManifest | parse(Uri uri, InputStream inputStream) |
Deprecated.
Parses an object from a response.
|
| protected AdaptationSet | parseAdaptationSet(XmlPullParser xpp, List<BaseUrl> parentBaseUrls, SegmentBase segmentBase, long periodDurationMs, long baseUrlAvailabilityTimeOffsetUs, long segmentBaseAvailabilityTimeOffsetUs, long periodStartUnixTimeMs, long timeShiftBufferDepthMs, boolean dvbProfileDeclared) |
Deprecated.
|
| protected void | parseAdaptationSetChild(XmlPullParser xpp) |
Deprecated.
Parses children of AdaptationSet elements not specifically parsed elsewhere.
|
| protected int | parseAudioChannelConfiguration(XmlPullParser xpp) |
Deprecated.
|
| protected long | parseAvailabilityTimeOffsetUs(XmlPullParser xpp, long parentAvailabilityTimeOffsetUs) |
Deprecated.
Parses the availabilityTimeOffset value and returns the parsed value or the parent value if it doesn't exist.
|
| protected List<BaseUrl> | parseBaseUrl(XmlPullParser xpp, List<BaseUrl> parentBaseUrls, boolean dvbProfileDeclared) |
Deprecated.
Parses a BaseURL element.
|
| protected static int | parseCea608AccessibilityChannel(List<Descriptor> accessibilityDescriptors) |
Deprecated.
|
| protected static int | parseCea708AccessibilityChannel(List<Descriptor> accessibilityDescriptors) |
Deprecated.
|
| protected Pair<@NullableType String,@NullableType DrmInitData.SchemeData> | parseContentProtection(XmlPullParser xpp) |
Deprecated.
Parses a ContentProtection element.
|
| protected @com.google.android.exoplayer2.C.TrackType int | parseContentType(XmlPullParser xpp) |
Deprecated.
|
| protected static long | parseDateTime(XmlPullParser xpp, String name, long defaultValue) |
Deprecated.
|
| protected static Descriptor | parseDescriptor(XmlPullParser xpp, String tag) |
Deprecated.
Parses a Descriptor from an element.
|
| protected static int | parseDolbyChannelConfiguration(XmlPullParser xpp) |
Deprecated.
Parses the number of channels from the value attribute of an AudioChannelConfiguration with schemeIdUri "tag:dolby.com,2014:dash:audio_channel_configuration:2011" as defined by table E.5 in ETSI TS 102 366, or by the legacy schemeIdUri "urn:dolby:dash:audio_channel_configuration:2011".
|
| protected static int | parseDtsChannelConfiguration(XmlPullParser xpp) |
Deprecated.
Parses the number of channels from the value attribute of an AudioChannelConfiguration with schemeIdUri "tag:dts.com,2014:dash:audio_channel_configuration:2012" as defined by Annex G (3.2) in ETSI TS 102 114 V1.6.1, or by the legacy schemeIdUri "urn:dts:dash:audio_channel_configuration:2012".
|
| protected static int | parseDtsxChannelConfiguration(XmlPullParser xpp) |
Deprecated.
Parses the number of channels from the value attribute of an AudioChannelConfiguration with schemeIdUri "tag:dts.com,2018:uhd:audio_channel_configuration" as defined by table B-5 in ETSI TS 103 491 v1.2.1.
|
| protected static long | parseDuration(XmlPullParser xpp, String name, long defaultValue) |
Deprecated.
|
| protected static String | parseEac3SupplementalProperties(List<Descriptor> supplementalProperties) |
Deprecated.
|
| protected Pair<Long,EventMessage> | parseEvent(XmlPullParser xpp, String schemeIdUri, String value, long timescale, long presentationTimeOffset, ByteArrayOutputStream scratchOutputStream) |
Deprecated.
Parses a single Event node in the manifest.
|
| protected byte[] | parseEventObject(XmlPullParser xpp, ByteArrayOutputStream scratchOutputStream) |
Deprecated.
Parses an event object.
|
| protected EventStream | parseEventStream(XmlPullParser xpp) |
Deprecated.
Parses a single EventStream node in the manifest.
|
| protected static float | parseFloat(XmlPullParser xpp, String name, float defaultValue) |
Deprecated.
|
| protected static float | parseFrameRate(XmlPullParser xpp, float defaultValue) |
Deprecated.
|
| protected RangedUri | parseInitialization(XmlPullParser xpp) |
Deprecated.
|
| protected static int | parseInt(XmlPullParser xpp, String name, int defaultValue) |
Deprecated.
|
| protected String | parseLabel(XmlPullParser xpp) |
Deprecated.
Parses a Label element.
|
| protected static long | parseLastSegmentNumberSupplementalProperty(List<Descriptor> supplementalProperties) |
Deprecated.
|
| protected static long | parseLong(XmlPullParser xpp, String name, long defaultValue) |
Deprecated.
|
| protected DashManifest | parseMediaPresentationDescription(XmlPullParser xpp, Uri documentBaseUri) |
Deprecated.
|
| protected static int | parseMpegChannelConfiguration(XmlPullParser xpp) |
Deprecated.
Parses the number of channels from the value attribute of an AudioChannelConfiguration with schemeIdUri "urn:mpeg:mpegB:cicp:ChannelConfiguration", as defined by ISO 23001-8 clause 8.1.
|
| protected Pair<Period,Long> | parsePeriod(XmlPullParser xpp, List<BaseUrl> parentBaseUrls, long defaultStartMs, long baseUrlAvailabilityTimeOffsetUs, long availabilityStartTimeMs, long timeShiftBufferDepthMs, boolean dvbProfileDeclared) |
Deprecated.
|
| protected String[] | parseProfiles(XmlPullParser xpp, String attributeName, String[] defaultValue) |
Deprecated.
|
| protected ProgramInformation | parseProgramInformation(XmlPullParser xpp) |
Deprecated.
|
| protected RangedUri | parseRangedUrl(XmlPullParser xpp, String urlAttribute, String rangeAttribute) |
Deprecated.
|
| protected DashManifestParser.RepresentationInfo | parseRepresentation(XmlPullParser xpp, List<BaseUrl> parentBaseUrls, String adaptationSetMimeType, String adaptationSetCodecs, int adaptationSetWidth, int adaptationSetHeight, float adaptationSetFrameRate, int adaptationSetAudioChannels, int adaptationSetAudioSamplingRate, String adaptationSetLanguage, List<Descriptor> adaptationSetRoleDescriptors, List<Descriptor> adaptationSetAccessibilityDescriptors, List<Descriptor> adaptationSetEssentialProperties, List<Descriptor> adaptationSetSupplementalProperties, SegmentBase segmentBase, long periodStartUnixTimeMs, long periodDurationMs, long baseUrlAvailabilityTimeOffsetUs, long segmentBaseAvailabilityTimeOffsetUs, long timeShiftBufferDepthMs, boolean dvbProfileDeclared) |
Deprecated.
|
| protected @com.google.android.exoplayer2.C.RoleFlags int | parseRoleFlagsFromAccessibilityDescriptors(List<Descriptor> accessibilityDescriptors) |
Deprecated.
|
| protected @com.google.android.exoplayer2.C.RoleFlags int | parseRoleFlagsFromDashRoleScheme(String value) |
Deprecated.
|
| protected @com.google.android.exoplayer2.C.RoleFlags int | parseRoleFlagsFromProperties(List<Descriptor> accessibilityDescriptors) |
Deprecated.
|
| protected @com.google.android.exoplayer2.C.RoleFlags int | parseRoleFlagsFromRoleDescriptors(List<Descriptor> roleDescriptors) |
Deprecated.
|
| protected SegmentBase.SingleSegmentBase | parseSegmentBase(XmlPullParser xpp, SegmentBase.SingleSegmentBase parent) |
Deprecated.
|
| protected SegmentBase.SegmentList | parseSegmentList(XmlPullParser xpp, SegmentBase.SegmentList parent, long periodStartUnixTimeMs, long periodDurationMs, long baseUrlAvailabilityTimeOffsetUs, long segmentBaseAvailabilityTimeOffsetUs, long timeShiftBufferDepthMs) |
Deprecated.
|
| protected SegmentBase.SegmentTemplate | parseSegmentTemplate(XmlPullParser xpp, SegmentBase.SegmentTemplate parent, List<Descriptor> adaptationSetSupplementalProperties, long periodStartUnixTimeMs, long periodDurationMs, long baseUrlAvailabilityTimeOffsetUs, long segmentBaseAvailabilityTimeOffsetUs, long timeShiftBufferDepthMs) |
Deprecated.
|
| protected List<SegmentBase.SegmentTimelineElement> | parseSegmentTimeline(XmlPullParser xpp, long timescale, long periodDurationMs) |
Deprecated.
|
| protected RangedUri | parseSegmentUrl(XmlPullParser xpp) |
Deprecated.
|
| protected @com.google.android.exoplayer2.C.SelectionFlags int | parseSelectionFlagsFromDashRoleScheme(String value) |
Deprecated.
|
| protected @com.google.android.exoplayer2.C.SelectionFlags int | parseSelectionFlagsFromRoleDescriptors(List<Descriptor> roleDescriptors) |
Deprecated.
|
| protected ServiceDescriptionElement | parseServiceDescription(XmlPullParser xpp) |
Deprecated.
|
| protected static String | parseString(XmlPullParser xpp, String name, String defaultValue) |
Deprecated.
|
| protected static String | parseText(XmlPullParser xpp, String label) |
Deprecated.
|
| protected Pair<Integer,Integer> | parseTileCountFromProperties(List<Descriptor> essentialProperties) |
Deprecated.
Parses given descriptors for thumbnail tile information.
|
| protected @com.google.android.exoplayer2.C.RoleFlags int | parseTvaAudioPurposeCsValue(String value) |
Deprecated.
|
| protected UrlTemplate | parseUrlTemplate(XmlPullParser xpp, String name, UrlTemplate defaultValue) |
Deprecated.
|
| protected UtcTimingElement | parseUtcTiming(XmlPullParser xpp) |
Deprecated.
|
-
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public DashManifestParser()
Deprecated.
-
public[DashManifest](DashManifest.html "class in com.google.android.exoplayer2.source.dash.manifest")parse([Uri](https://developer.android.com/reference/android/net/Uri.html "class or interface in android.net")uri,[InputStream](https://developer.android.com/reference/java/io/InputStream.html "class or interface in java.io")inputStream)
throws[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")
Deprecated.
Description copied from interface: ParsingLoadable.Parser
Parses an object from a response.
Specified by:parse in interface ParsingLoadable.Parser<DashManifest>Parameters:uri - The source Uri of the response, after any redirection.inputStream - An InputStream from which the response data can be read.Returns:The parsed object.Throws:ParserException - If an error occurs parsing the data.IOException - If an error occurs reading data from the stream.
-
protected[DashManifest](DashManifest.html "class in com.google.android.exoplayer2.source.dash.manifest")parseMediaPresentationDescription([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp,[Uri](https://developer.android.com/reference/android/net/Uri.html "class or interface in android.net")documentBaseUri)
throws[XmlPullParserException](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParserException.html "class or interface in org.xmlpull.v1"),[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")
Deprecated.
Throws:XmlPullParserException``IOException
-
protected[DashManifest](DashManifest.html "class in com.google.android.exoplayer2.source.dash.manifest")buildMediaPresentationDescription(long availabilityStartTime,
long durationMs,
long minBufferTimeMs,
boolean dynamic,
long minUpdateTimeMs,
long timeShiftBufferDepthMs,
long suggestedPresentationDelayMs,
long publishTimeMs,
@Nullable[ProgramInformation](ProgramInformation.html "class in com.google.android.exoplayer2.source.dash.manifest")programInformation,
@Nullable[UtcTimingElement](UtcTimingElement.html "class in com.google.android.exoplayer2.source.dash.manifest")utcTiming,
@Nullable[ServiceDescriptionElement](ServiceDescriptionElement.html "class in com.google.android.exoplayer2.source.dash.manifest")serviceDescription,
@Nullable[Uri](https://developer.android.com/reference/android/net/Uri.html "class or interface in android.net")location,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Period](Period.html "class in com.google.android.exoplayer2.source.dash.manifest")> periods)
Deprecated.
-
protected[UtcTimingElement](UtcTimingElement.html "class in com.google.android.exoplayer2.source.dash.manifest")parseUtcTiming([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp)
Deprecated.
-
protected[UtcTimingElement](UtcTimingElement.html "class in com.google.android.exoplayer2.source.dash.manifest")buildUtcTimingElement([String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")schemeIdUri,[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")value)
Deprecated.
-
protected[ServiceDescriptionElement](ServiceDescriptionElement.html "class in com.google.android.exoplayer2.source.dash.manifest")parseServiceDescription([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp)
throws[XmlPullParserException](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParserException.html "class or interface in org.xmlpull.v1"),[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")
Deprecated.
Throws:XmlPullParserException``IOException
-
protected[Pair](https://developer.android.com/reference/android/util/Pair.html "class or interface in android.util")<[Period](Period.html "class in com.google.android.exoplayer2.source.dash.manifest"),[Long](https://developer.android.com/reference/java/lang/Long.html?is-external=true "class or interface in java.lang")> parsePeriod([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html?is-external=true "class or interface in org.xmlpull.v1")xpp,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[BaseUrl](BaseUrl.html "class in com.google.android.exoplayer2.source.dash.manifest")> parentBaseUrls,
long defaultStartMs,
long baseUrlAvailabilityTimeOffsetUs,
long availabilityStartTimeMs,
long timeShiftBufferDepthMs,
boolean dvbProfileDeclared)
throws[XmlPullParserException](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParserException.html "class or interface in org.xmlpull.v1"),[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")
Deprecated.
Throws:XmlPullParserException``IOException
-
protected[Period](Period.html "class in com.google.android.exoplayer2.source.dash.manifest")buildPeriod(@Nullable[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")id,
long startMs,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[AdaptationSet](AdaptationSet.html "class in com.google.android.exoplayer2.source.dash.manifest")> adaptationSets,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[EventStream](EventStream.html "class in com.google.android.exoplayer2.source.dash.manifest")> eventStreams,
@Nullable[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")assetIdentifier)
Deprecated.
-
protected[AdaptationSet](AdaptationSet.html "class in com.google.android.exoplayer2.source.dash.manifest")parseAdaptationSet([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[BaseUrl](BaseUrl.html "class in com.google.android.exoplayer2.source.dash.manifest")> parentBaseUrls,
@Nullable[SegmentBase](SegmentBase.html "class in com.google.android.exoplayer2.source.dash.manifest")segmentBase,
long periodDurationMs,
long baseUrlAvailabilityTimeOffsetUs,
long segmentBaseAvailabilityTimeOffsetUs,
long periodStartUnixTimeMs,
long timeShiftBufferDepthMs,
boolean dvbProfileDeclared)
throws[XmlPullParserException](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParserException.html "class or interface in org.xmlpull.v1"),[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")
Deprecated.
Throws:XmlPullParserException``IOException
-
protected[AdaptationSet](AdaptationSet.html "class in com.google.android.exoplayer2.source.dash.manifest")buildAdaptationSet(long id,
@com.google.android.exoplayer2.C.TrackType int contentType,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Representation](Representation.html "class in com.google.android.exoplayer2.source.dash.manifest")> representations,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> accessibilityDescriptors,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> essentialProperties,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> supplementalProperties)
Deprecated.
-
protected @com.google.android.exoplayer2.C.TrackType int parseContentType([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp)
Deprecated.
-
protected[Pair](https://developer.android.com/reference/android/util/Pair.html "class or interface in android.util")<@NullableType[String](https://developer.android.com/reference/java/lang/String.html?is-external=true "class or interface in java.lang"),@NullableType[DrmInitData.SchemeData](../../../drm/DrmInitData.SchemeData.html "class in com.google.android.exoplayer2.drm")> parseContentProtection([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html?is-external=true "class or interface in org.xmlpull.v1")xpp)
throws[XmlPullParserException](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParserException.html "class or interface in org.xmlpull.v1"),[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")
Deprecated.
Parses a ContentProtection element.
Parameters:xpp - The parser from which to read.Returns:The scheme type and/or DrmInitData.SchemeData parsed from the ContentProtection element. Either or both may be null, depending on the ContentProtection element being parsed.Throws:XmlPullParserException - If an error occurs parsing the element.IOException - If an error occurs reading the element.
-
protected void parseAdaptationSetChild([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp)
throws[XmlPullParserException](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParserException.html "class or interface in org.xmlpull.v1"),[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")
Deprecated.
Parses children of AdaptationSet elements not specifically parsed elsewhere.
Parameters:xpp - The XmpPullParser from which the AdaptationSet child should be parsed.Throws:XmlPullParserException - If an error occurs parsing the element.IOException - If an error occurs reading the element.
-
protected[DashManifestParser.RepresentationInfo](DashManifestParser.RepresentationInfo.html "class in com.google.android.exoplayer2.source.dash.manifest")parseRepresentation([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[BaseUrl](BaseUrl.html "class in com.google.android.exoplayer2.source.dash.manifest")> parentBaseUrls,
@Nullable[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")adaptationSetMimeType,
@Nullable[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")adaptationSetCodecs,
int adaptationSetWidth,
int adaptationSetHeight,
float adaptationSetFrameRate,
int adaptationSetAudioChannels,
int adaptationSetAudioSamplingRate,
@Nullable[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")adaptationSetLanguage,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> adaptationSetRoleDescriptors,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> adaptationSetAccessibilityDescriptors,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> adaptationSetEssentialProperties,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> adaptationSetSupplementalProperties,
@Nullable[SegmentBase](SegmentBase.html "class in com.google.android.exoplayer2.source.dash.manifest")segmentBase,
long periodStartUnixTimeMs,
long periodDurationMs,
long baseUrlAvailabilityTimeOffsetUs,
long segmentBaseAvailabilityTimeOffsetUs,
long timeShiftBufferDepthMs,
boolean dvbProfileDeclared)
throws[XmlPullParserException](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParserException.html "class or interface in org.xmlpull.v1"),[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")
Deprecated.
Throws:XmlPullParserException``IOException
-
protected[Format](../../../Format.html "class in com.google.android.exoplayer2")buildFormat(@Nullable[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")id,
@Nullable[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")containerMimeType,
int width,
int height,
float frameRate,
int audioChannels,
int audioSamplingRate,
int bitrate,
@Nullable[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")language,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> roleDescriptors,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> accessibilityDescriptors,
@Nullable[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")codecs,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> essentialProperties,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> supplementalProperties)
Deprecated.
-
protected[Representation](Representation.html "class in com.google.android.exoplayer2.source.dash.manifest")buildRepresentation([DashManifestParser.RepresentationInfo](DashManifestParser.RepresentationInfo.html "class in com.google.android.exoplayer2.source.dash.manifest")representationInfo,
@Nullable[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")label,
@Nullable[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")extraDrmSchemeType,[ArrayList](https://developer.android.com/reference/java/util/ArrayList.html "class or interface in java.util")<[DrmInitData.SchemeData](../../../drm/DrmInitData.SchemeData.html "class in com.google.android.exoplayer2.drm")> extraDrmSchemeDatas,[ArrayList](https://developer.android.com/reference/java/util/ArrayList.html "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> extraInbandEventStreams)
Deprecated.
-
protected[SegmentBase.SingleSegmentBase](SegmentBase.SingleSegmentBase.html "class in com.google.android.exoplayer2.source.dash.manifest")parseSegmentBase([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp,
@Nullable[SegmentBase.SingleSegmentBase](SegmentBase.SingleSegmentBase.html "class in com.google.android.exoplayer2.source.dash.manifest")parent)
throws[XmlPullParserException](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParserException.html "class or interface in org.xmlpull.v1"),[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")
Deprecated.
Throws:XmlPullParserException``IOException
-
protected[SegmentBase.SingleSegmentBase](SegmentBase.SingleSegmentBase.html "class in com.google.android.exoplayer2.source.dash.manifest")buildSingleSegmentBase([RangedUri](RangedUri.html "class in com.google.android.exoplayer2.source.dash.manifest")initialization,
long timescale,
long presentationTimeOffset,
long indexStart,
long indexLength)
Deprecated.
-
protected[SegmentBase.SegmentList](SegmentBase.SegmentList.html "class in com.google.android.exoplayer2.source.dash.manifest")parseSegmentList([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp,
@Nullable[SegmentBase.SegmentList](SegmentBase.SegmentList.html "class in com.google.android.exoplayer2.source.dash.manifest")parent,
long periodStartUnixTimeMs,
long periodDurationMs,
long baseUrlAvailabilityTimeOffsetUs,
long segmentBaseAvailabilityTimeOffsetUs,
long timeShiftBufferDepthMs)
throws[XmlPullParserException](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParserException.html "class or interface in org.xmlpull.v1"),[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")
Deprecated.
Throws:XmlPullParserException``IOException
-
protected[SegmentBase.SegmentList](SegmentBase.SegmentList.html "class in com.google.android.exoplayer2.source.dash.manifest")buildSegmentList([RangedUri](RangedUri.html "class in com.google.android.exoplayer2.source.dash.manifest")initialization,
long timescale,
long presentationTimeOffset,
long startNumber,
long duration,
@Nullable[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[SegmentBase.SegmentTimelineElement](SegmentBase.SegmentTimelineElement.html "class in com.google.android.exoplayer2.source.dash.manifest")> timeline,
long availabilityTimeOffsetUs,
@Nullable[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[RangedUri](RangedUri.html "class in com.google.android.exoplayer2.source.dash.manifest")> segments,
long timeShiftBufferDepthMs,
long periodStartUnixTimeMs)
Deprecated.
-
protected[SegmentBase.SegmentTemplate](SegmentBase.SegmentTemplate.html "class in com.google.android.exoplayer2.source.dash.manifest")parseSegmentTemplate([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp,
@Nullable[SegmentBase.SegmentTemplate](SegmentBase.SegmentTemplate.html "class in com.google.android.exoplayer2.source.dash.manifest")parent,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> adaptationSetSupplementalProperties,
long periodStartUnixTimeMs,
long periodDurationMs,
long baseUrlAvailabilityTimeOffsetUs,
long segmentBaseAvailabilityTimeOffsetUs,
long timeShiftBufferDepthMs)
throws[XmlPullParserException](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParserException.html "class or interface in org.xmlpull.v1"),[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")
Deprecated.
Throws:XmlPullParserException``IOException
-
protected[SegmentBase.SegmentTemplate](SegmentBase.SegmentTemplate.html "class in com.google.android.exoplayer2.source.dash.manifest")buildSegmentTemplate([RangedUri](RangedUri.html "class in com.google.android.exoplayer2.source.dash.manifest")initialization,
long timescale,
long presentationTimeOffset,
long startNumber,
long endNumber,
long duration,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[SegmentBase.SegmentTimelineElement](SegmentBase.SegmentTimelineElement.html "class in com.google.android.exoplayer2.source.dash.manifest")> timeline,
long availabilityTimeOffsetUs,
@Nullable[UrlTemplate](UrlTemplate.html "class in com.google.android.exoplayer2.source.dash.manifest")initializationTemplate,
@Nullable[UrlTemplate](UrlTemplate.html "class in com.google.android.exoplayer2.source.dash.manifest")mediaTemplate,
long timeShiftBufferDepthMs,
long periodStartUnixTimeMs)
Deprecated.
-
protected[EventStream](EventStream.html "class in com.google.android.exoplayer2.source.dash.manifest")parseEventStream([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp)
throws[XmlPullParserException](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParserException.html "class or interface in org.xmlpull.v1"),[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")
Deprecated.
Parses a single EventStream node in the manifest.
Parameters:xpp - The current xml parser.Returns:The EventStream parsed from this EventStream node.Throws:XmlPullParserException - If there is any error parsing this node.IOException - If there is any error reading from the underlying input stream.
-
protected[EventStream](EventStream.html "class in com.google.android.exoplayer2.source.dash.manifest")buildEventStream([String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")schemeIdUri,[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")value,
long timescale,
long[] presentationTimesUs,[EventMessage](../../../metadata/emsg/EventMessage.html "class in com.google.android.exoplayer2.metadata.emsg")[] events)
Deprecated.
-
protected[Pair](https://developer.android.com/reference/android/util/Pair.html "class or interface in android.util")<[Long](https://developer.android.com/reference/java/lang/Long.html?is-external=true "class or interface in java.lang"),[EventMessage](../../../metadata/emsg/EventMessage.html "class in com.google.android.exoplayer2.metadata.emsg")> parseEvent([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html?is-external=true "class or interface in org.xmlpull.v1")xpp,[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")schemeIdUri,[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")value,
long timescale,
long presentationTimeOffset,[ByteArrayOutputStream](https://developer.android.com/reference/java/io/ByteArrayOutputStream.html "class or interface in java.io")scratchOutputStream)
throws[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io"),[XmlPullParserException](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParserException.html "class or interface in org.xmlpull.v1")
Deprecated.
Parses a single Event node in the manifest.
Parameters:xpp - The current xml parser.schemeIdUri - The schemeIdUri of the parent EventStream.value - The schemeIdUri of the parent EventStream.timescale - The timescale of the parent EventStream.presentationTimeOffset - The unscaled presentation time offset of the parent EventStream.scratchOutputStream - A ByteArrayOutputStream that is used when parsing event objects.Returns:A pair containing the node's presentation timestamp in microseconds and the parsed EventMessage.Throws:XmlPullParserException - If there is any error parsing this node.IOException - If there is any error reading from the underlying input stream.
-
protected byte[] parseEventObject([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp,[ByteArrayOutputStream](https://developer.android.com/reference/java/io/ByteArrayOutputStream.html "class or interface in java.io")scratchOutputStream)
throws[XmlPullParserException](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParserException.html "class or interface in org.xmlpull.v1"),[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")
Deprecated.
Parses an event object.
Parameters:xpp - The current xml parser.scratchOutputStream - A ByteArrayOutputStream that's used when parsing the object.Returns:The serialized byte array.Throws:XmlPullParserException - If there is any error parsing this node.IOException - If there is any error reading from the underlying input stream.
-
protected[EventMessage](../../../metadata/emsg/EventMessage.html "class in com.google.android.exoplayer2.metadata.emsg")buildEvent([String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")schemeIdUri,[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")value,
long id,
long durationMs,
byte[] messageData)
Deprecated.
-
protected[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[SegmentBase.SegmentTimelineElement](SegmentBase.SegmentTimelineElement.html "class in com.google.android.exoplayer2.source.dash.manifest")> parseSegmentTimeline([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html?is-external=true "class or interface in org.xmlpull.v1")xpp,
long timescale,
long periodDurationMs)
throws[XmlPullParserException](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParserException.html "class or interface in org.xmlpull.v1"),[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")
Deprecated.
Throws:XmlPullParserException``IOException
-
protected[SegmentBase.SegmentTimelineElement](SegmentBase.SegmentTimelineElement.html "class in com.google.android.exoplayer2.source.dash.manifest")buildSegmentTimelineElement(long startTime,
long duration)
Deprecated.
-
@Nullable
protected[UrlTemplate](UrlTemplate.html "class in com.google.android.exoplayer2.source.dash.manifest")parseUrlTemplate([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp,[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")name,
@Nullable[UrlTemplate](UrlTemplate.html "class in com.google.android.exoplayer2.source.dash.manifest")defaultValue)
Deprecated.
-
protected[RangedUri](RangedUri.html "class in com.google.android.exoplayer2.source.dash.manifest")parseInitialization([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp)
Deprecated.
-
protected[RangedUri](RangedUri.html "class in com.google.android.exoplayer2.source.dash.manifest")parseSegmentUrl([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp)
Deprecated.
-
protected[RangedUri](RangedUri.html "class in com.google.android.exoplayer2.source.dash.manifest")parseRangedUrl([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp,[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")urlAttribute,[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")rangeAttribute)
Deprecated.
-
protected[RangedUri](RangedUri.html "class in com.google.android.exoplayer2.source.dash.manifest")buildRangedUri([String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")urlText,
long rangeStart,
long rangeLength)
Deprecated.
-
protected[ProgramInformation](ProgramInformation.html "class in com.google.android.exoplayer2.source.dash.manifest")parseProgramInformation([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp)
throws[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io"),[XmlPullParserException](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParserException.html "class or interface in org.xmlpull.v1")
Deprecated.
Throws:IOException``XmlPullParserException
-
protected[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")parseLabel([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html?is-external=true "class or interface in org.xmlpull.v1")xpp)
throws[XmlPullParserException](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParserException.html "class or interface in org.xmlpull.v1"),[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")
Deprecated.
Parses a Label element.
Parameters:xpp - The parser from which to read.Returns:The parsed label.Throws:XmlPullParserException - If an error occurs parsing the element.IOException - If an error occurs reading the element.
-
protected[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[BaseUrl](BaseUrl.html "class in com.google.android.exoplayer2.source.dash.manifest")> parseBaseUrl([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html?is-external=true "class or interface in org.xmlpull.v1")xpp,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[BaseUrl](BaseUrl.html "class in com.google.android.exoplayer2.source.dash.manifest")> parentBaseUrls,
boolean dvbProfileDeclared)
throws[XmlPullParserException](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParserException.html "class or interface in org.xmlpull.v1"),[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")
Deprecated.
Parses a BaseURL element.
Parameters:xpp - The parser from which to read.parentBaseUrls - The parent base URLs for resolving the parsed URLs.dvbProfileDeclared - Whether the dvb profile is declared.Returns:The list of parsed and resolved URLs.Throws:XmlPullParserException - If an error occurs parsing the element.IOException - If an error occurs reading the element.
-
protected long parseAvailabilityTimeOffsetUs([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp,
long parentAvailabilityTimeOffsetUs)
Deprecated.
Parses the availabilityTimeOffset value and returns the parsed value or the parent value if it doesn't exist.
Parameters:xpp - The parser from which to read.parentAvailabilityTimeOffsetUs - The availability time offset of a parent element in microseconds.Returns:The parsed availabilityTimeOffset in microseconds.
-
protected int parseAudioChannelConfiguration([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp)
throws[XmlPullParserException](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParserException.html "class or interface in org.xmlpull.v1"),[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")
Deprecated.
Throws:XmlPullParserException``IOException
-
[@SelectionFlags](../../../C.SelectionFlags.html "annotation in com.google.android.exoplayer2")protected @com.google.android.exoplayer2.C.SelectionFlags int parseSelectionFlagsFromRoleDescriptors([List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> roleDescriptors)
Deprecated.
-
[@SelectionFlags](../../../C.SelectionFlags.html "annotation in com.google.android.exoplayer2")protected @com.google.android.exoplayer2.C.SelectionFlags int parseSelectionFlagsFromDashRoleScheme(@Nullable[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")value)
Deprecated.
-
[@RoleFlags](../../../C.RoleFlags.html "annotation in com.google.android.exoplayer2")protected @com.google.android.exoplayer2.C.RoleFlags int parseRoleFlagsFromRoleDescriptors([List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> roleDescriptors)
Deprecated.
-
[@RoleFlags](../../../C.RoleFlags.html "annotation in com.google.android.exoplayer2")protected @com.google.android.exoplayer2.C.RoleFlags int parseRoleFlagsFromAccessibilityDescriptors([List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> accessibilityDescriptors)
Deprecated.
-
[@RoleFlags](../../../C.RoleFlags.html "annotation in com.google.android.exoplayer2")protected @com.google.android.exoplayer2.C.RoleFlags int parseRoleFlagsFromProperties([List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> accessibilityDescriptors)
Deprecated.
-
[@RoleFlags](../../../C.RoleFlags.html "annotation in com.google.android.exoplayer2")protected @com.google.android.exoplayer2.C.RoleFlags int parseRoleFlagsFromDashRoleScheme(@Nullable[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")value)
Deprecated.
-
[@RoleFlags](../../../C.RoleFlags.html "annotation in com.google.android.exoplayer2")protected @com.google.android.exoplayer2.C.RoleFlags int parseTvaAudioPurposeCsValue(@Nullable[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")value)
Deprecated.
-
protected[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")[] parseProfiles([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html?is-external=true "class or interface in org.xmlpull.v1")xpp,[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")attributeName,[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")[] defaultValue)
Deprecated.
-
@Nullable
protected[Pair](https://developer.android.com/reference/android/util/Pair.html "class or interface in android.util")<[Integer](https://developer.android.com/reference/java/lang/Integer.html?is-external=true "class or interface in java.lang"),[Integer](https://developer.android.com/reference/java/lang/Integer.html?is-external=true "class or interface in java.lang")> parseTileCountFromProperties([List](https://developer.android.com/reference/java/util/List.html?is-external=true "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> essentialProperties)
Deprecated.
Parses given descriptors for thumbnail tile information.
Parameters:essentialProperties - List of descriptors that contain thumbnail tile information.Returns:A pair of Integer values, where the first is the count of horizontal tiles and the second is the count of vertical tiles, or null if no thumbnail tile information is found.
-
public static void maybeSkipTag([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp)
throws[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io"),[XmlPullParserException](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParserException.html "class or interface in org.xmlpull.v1")
Deprecated.
If the provided XmlPullParser is currently positioned at the start of a tag, skips forward to the end of that tag.
Parameters:xpp - The XmlPullParser.Throws:XmlPullParserException - If an error occurs parsing the stream.IOException - If an error occurs reading the stream.
-
protected static[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")parseDescriptor([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp,[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")tag)
throws[XmlPullParserException](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParserException.html "class or interface in org.xmlpull.v1"),[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")
Deprecated.
Parses a Descriptor from an element.
Parameters:xpp - The parser from which to read.tag - The tag of the element being parsed.Returns:The parsed Descriptor.Throws:XmlPullParserException - If an error occurs parsing the element.IOException - If an error occurs reading the element.
-
protected static int parseCea608AccessibilityChannel([List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> accessibilityDescriptors)
Deprecated.
-
protected static int parseCea708AccessibilityChannel([List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> accessibilityDescriptors)
Deprecated.
-
protected static[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")parseEac3SupplementalProperties([List](https://developer.android.com/reference/java/util/List.html?is-external=true "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> supplementalProperties)
Deprecated.
-
protected static float parseFrameRate([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp,
float defaultValue)
Deprecated.
-
protected static long parseDuration([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp,[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")name,
long defaultValue)
Deprecated.
-
protected static long parseDateTime([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp,[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")name,
long defaultValue)
throws[ParserException](../../../ParserException.html "class in com.google.android.exoplayer2")
Deprecated.
Throws:ParserException
-
protected static[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")parseText([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html?is-external=true "class or interface in org.xmlpull.v1")xpp,[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")label)
throws[XmlPullParserException](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParserException.html "class or interface in org.xmlpull.v1"),[IOException](https://developer.android.com/reference/java/io/IOException.html "class or interface in java.io")
Deprecated.
Throws:XmlPullParserException``IOException
-
protected static int parseInt([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp,[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")name,
int defaultValue)
Deprecated.
-
protected static long parseLong([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp,[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")name,
long defaultValue)
Deprecated.
-
protected static float parseFloat([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp,[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")name,
float defaultValue)
Deprecated.
-
protected static[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")parseString([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html?is-external=true "class or interface in org.xmlpull.v1")xpp,[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")name,[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")defaultValue)
Deprecated.
-
protected static int parseMpegChannelConfiguration([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp)
Deprecated.
Parses the number of channels from the value attribute of an AudioChannelConfiguration with schemeIdUri "urn:mpeg:mpegB:cicp:ChannelConfiguration", as defined by ISO 23001-8 clause 8.1.
Parameters:xpp - The parser from which to read.Returns:The parsed number of channels, or Format.NO_VALUE if the channel count could not be parsed.
-
protected static int parseDtsChannelConfiguration([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp)
Deprecated.
Parses the number of channels from the value attribute of an AudioChannelConfiguration with schemeIdUri "tag:dts.com,2014:dash:audio_channel_configuration:2012" as defined by Annex G (3.2) in ETSI TS 102 114 V1.6.1, or by the legacy schemeIdUri "urn:dts:dash:audio_channel_configuration:2012".
Parameters:xpp - The parser from which to read.Returns:The parsed number of channels, or Format.NO_VALUE if the channel count could not be parsed.
-
protected static int parseDtsxChannelConfiguration([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp)
Deprecated.
Parses the number of channels from the value attribute of an AudioChannelConfiguration with schemeIdUri "tag:dts.com,2018:uhd:audio_channel_configuration" as defined by table B-5 in ETSI TS 103 491 v1.2.1.
Parameters:xpp - The parser from which to read.Returns:The parsed number of channels, or Format.NO_VALUE if the channel count could not be parsed.
-
protected static int parseDolbyChannelConfiguration([XmlPullParser](https://developer.android.com/reference/org/xmlpull/v1/XmlPullParser.html "class or interface in org.xmlpull.v1")xpp)
Deprecated.
Parses the number of channels from the value attribute of an AudioChannelConfiguration with schemeIdUri "tag:dolby.com,2014:dash:audio_channel_configuration:2011" as defined by table E.5 in ETSI TS 102 366, or by the legacy schemeIdUri "urn:dolby:dash:audio_channel_configuration:2011".
Parameters:xpp - The parser from which to read.Returns:The parsed number of channels, or Format.NO_VALUE if the channel count could not be parsed.
-
protected static long parseLastSegmentNumberSupplementalProperty([List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Descriptor](Descriptor.html "class in com.google.android.exoplayer2.source.dash.manifest")> supplementalProperties)
Deprecated.