2.2.2.6.1 TrackFragmentElement
The TrackFragmentElement field and related fields are used to specify metadata pertaining to a fragment for a specific track, rather than all versions of a fragment for a stream.
TrackFragmentElement (variable): An XML element that encapsulates informative track-specific metadata for a specific fragment. Attributes can appear in any order. However, the following field is required and MUST be present in TrackFragmentAttributes: TrackFragmentIndexAttribute.
TrackFragmentIndex (variable): An ordinal that MUST match the value of the Index field for the track to which this TrackFragment field pertains.
ManifestOutputSample (variable): A string that contains the base64-encoded representation of the raw bytes of the sample data for this fragment. This field MUST be omitted unless the ManifestOutput field for the corresponding stream contains a TRUE value.
The syntax of the fields that are defined in this section, specified in ABNF [RFC5234], is as follows.
-
TrackFragmentElement = "<" TrackFragmentElementName S TrackFragmentAttributes S ">" S TrackFragmentContent S "</" TrackFragmentElementName ">" TrackFragmentElementName = "f" TrackFragmentAttributes = *( TrackFragmentIndexAttribute / VendorExtensionAttribute ) TrackFragmentIndexAttribute = S TrackFragmentIndexAttributeName S Eq S (DQ TrackFragmentIndex DQ) / (SQ TrackFragmentIndex SQ) *1S TrackFragmentIndexAttributeName = "i" TrackFragmentIndex = STRING-UINT32 TrackFragmentContent = ManifestOutputSample ManifestOutputSample = BASE64-STRING