public class BrightcoveDashManifestParser
extends com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
Constructor and Description |
---|
BrightcoveDashManifestParser() |
Modifier and Type | Method and Description |
---|---|
protected com.google.android.exoplayer2.Format |
buildFormat(java.lang.String id,
java.lang.String containerMimeType,
int width,
int height,
float frameRate,
int audioChannels,
int audioSamplingRate,
int bitrate,
java.lang.String language,
java.util.List<com.google.android.exoplayer2.source.dash.manifest.Descriptor> roleDescriptors,
java.util.List<com.google.android.exoplayer2.source.dash.manifest.Descriptor> accessibilityDescriptors,
java.lang.String codecs,
java.util.List<com.google.android.exoplayer2.source.dash.manifest.Descriptor> supplementalProperties) |
protected com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTemplate |
buildSegmentTemplate(com.google.android.exoplayer2.source.dash.manifest.RangedUri initialization,
long timescale,
long presentationTimeOffset,
long startNumber,
long endNumber,
long duration,
java.util.List<com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTimelineElement> timeline,
com.google.android.exoplayer2.source.dash.manifest.UrlTemplate initializationTemplate,
com.google.android.exoplayer2.source.dash.manifest.UrlTemplate mediaTemplate) |
protected android.util.Pair<java.lang.String,com.google.android.exoplayer2.drm.DrmInitData.SchemeData> |
parseContentProtection(org.xmlpull.v1.XmlPullParser xpp)
Parses a ContentProtection element.
|
protected int |
parseRoleFlagsFromRoleDescriptors(java.util.List<com.google.android.exoplayer2.source.dash.manifest.Descriptor> roleDescriptors) |
buildAdaptationSet, buildEvent, buildEventStream, buildMediaPresentationDescription, buildPeriod, buildRangedUri, buildRepresentation, buildSegmentList, buildSegmentTimelineElement, buildSingleSegmentBase, buildUtcTimingElement, getContentType, maybeSkipTag, parse, parseAdaptationSet, parseAdaptationSetChild, parseAudioChannelConfiguration, parseBaseUrl, parseCea608AccessibilityChannel, parseCea708AccessibilityChannel, parseContentType, parseDashRoleSchemeValue, parseDateTime, parseDescriptor, parseDolbyChannelConfiguration, parseDuration, parseEac3SupplementalProperties, parseEvent, parseEventObject, parseEventStream, parseFrameRate, parseInitialization, parseInt, parseLabel, parseLastSegmentNumberSupplementalProperty, parseLong, parseMediaPresentationDescription, parsePeriod, parseProgramInformation, parseRangedUrl, parseRepresentation, parseRoleFlagsFromAccessibilityDescriptors, parseSegmentBase, parseSegmentList, parseSegmentTemplate, parseSegmentTimeline, parseSegmentUrl, parseSelectionFlagsFromRoleDescriptors, parseString, parseText, parseTvaAudioPurposeCsValue, parseUrlTemplate, parseUtcTiming
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
protected android.util.Pair<java.lang.String,com.google.android.exoplayer2.drm.DrmInitData.SchemeData> parseContentProtection(org.xmlpull.v1.XmlPullParser xpp) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
parseContentProtection
in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
xpp
- The parser from which to read.DrmInitData.SchemeData
parsed from the ContentProtection element, or null if the element is
unsupported.org.xmlpull.v1.XmlPullParserException
- If an error occurs parsing the element.java.io.IOException
- If an error occurs reading the element.protected com.google.android.exoplayer2.Format buildFormat(java.lang.String id, java.lang.String containerMimeType, int width, int height, float frameRate, int audioChannels, int audioSamplingRate, int bitrate, java.lang.String language, java.util.List<com.google.android.exoplayer2.source.dash.manifest.Descriptor> roleDescriptors, java.util.List<com.google.android.exoplayer2.source.dash.manifest.Descriptor> accessibilityDescriptors, java.lang.String codecs, java.util.List<com.google.android.exoplayer2.source.dash.manifest.Descriptor> supplementalProperties)
buildFormat
in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
protected int parseRoleFlagsFromRoleDescriptors(java.util.List<com.google.android.exoplayer2.source.dash.manifest.Descriptor> roleDescriptors)
parseRoleFlagsFromRoleDescriptors
in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
protected com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTemplate buildSegmentTemplate(com.google.android.exoplayer2.source.dash.manifest.RangedUri initialization, long timescale, long presentationTimeOffset, long startNumber, long endNumber, long duration, java.util.List<com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTimelineElement> timeline, com.google.android.exoplayer2.source.dash.manifest.UrlTemplate initializationTemplate, com.google.android.exoplayer2.source.dash.manifest.UrlTemplate mediaTemplate)
buildSegmentTemplate
in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser