Utility functions for manifest parsing.
- Source:
Members
-
(static) ContentType :string
-
Type:
- string
Properties:
Name Value Type Description VIDEO
video string AUDIO
audio string TEXT
text string APPLICATION
application string - Source:
-
(static, constant) GAP_OVERLAP_TOLERANCE_SECONDS :number
-
Specifies how tolerant the player is to inaccurate segment start times and end times within a manifest. For example, gaps or overlaps between segments in a SegmentTimeline which are greater than or equal to this value will result in a warning message.
Type:
- number
-
(static) TextStreamKind :string
-
Type:
- string
Properties:
Name Value Type Description SUBTITLE
subtitle string CLOSED_CAPTION
caption string - Source:
Methods
-
(static) createDrmInfo(keySystem, initData) → {shakaExtern.DrmInfo}
-
Creates a DrmInfo object from the given info.
Parameters:
Name Type Description keySystem
string initData
Array.<shakaExtern.InitDataOverride> - Source:
Returns:
- Type
- shakaExtern.DrmInfo
-
(static) resolveUris(baseUrisnon-null, relativeUrisnon-null) → (non-null) {Array.<string>}
-
Resolves an array of relative URIs to the given base URIs. This will result in M*N number of URIs.
Parameters:
Name Type Description baseUris
Array.<string> relativeUris
Array.<string> - Source:
Returns:
- Type
- Array.<string>