Skip to content

v0.8.0

Compare
Choose a tag to compare
@tobbee tobbee released this 17 May 11:36
· 30 commits to main since this release

Changed

  • PeriodType renamed Period
  • PeriodType is now PTRegular, PTEarlyAvaiable etc
  • GetRepInit changed to GetInit() method on Representation
  • GetRepMedia changed to GetMedia() method on Representation
  • NewMPD() now takes mpdType as argument

Added

  • New Duration method Seconds()
  • New DateTime method ConvertToSeconds()
  • New Period methods AbsoluteStart(), GetStart(), GetType(), GetIndex()
  • Parent/SetParent methods for Period, AdaptationSet, Representataion, and SubRepresentation
  • New Append methods the above that appends and sets parent
  • New type PeriodType
  • Declared errors: ErrPeriodNotFound and similar
  • New function MPDFromBytes() to unmarshal MPD