Repository navigation
0.7.0
Added
- Better support for HLS Interstitial attributes in EXT-X-DATERANGE via a dedicated struct that holds all the extension properties, and enums for all the enumerated string values that have been defined in Appendix D.
- Better support for Preloading HLS Date Range Resources (Appendix F) via a dedicated struct that holds all the extension properties with friendlier types (
&strrather thanExtensionAttributeValue).
Changed
- BREAKING CHANGE:
Daterange::start_datereturn type has been changed fromDateTimetoOption<DateTime>. This is based on the update in draft 18 where it was clarified that all daterange attributes, other thanID, are optional on an instance of the tag because the values are inherited from previous instances of the tag. Given that parsing in this library occurs line-by-line, we must consider this optional now. - BREAKING CHANGE:
IFrameStreamInf::allowed_cpcreturn type has been changed fromOption<&str>toOption<AllowedCpc<'_>>. This should always have been the case; however, when adding this type forStreamInf, theIFrameStreamInfwas forgotten about. - BREAKING CHANGE:
DecimalResolutionParseErrorremoved theMissingWidthcase, and renamedMissingHeighttoMissingSeparatorto better indicate the source of the error (thexseparator not found). - BREAKING CHANGE:
PartByterangewas removed in favor of the new more common typeDecimalIntegerRangethat is used for all types following the same scheme (<n>[@<o>]). This allowed for the parsing to be consolidated, and now, theTryFrom<&str>methods are public, so users of the library do not have to reimplement the parsing if they want to use the types directly with custom data.
Full Changelog: 0.6.0...0.7.0