Skip to content

v0.10.0

Compare
Choose a tag to compare
@tobbee tobbee released this 26 May 14:52
· 27 commits to main since this release
f7748ed

Changed

  • NewMPD function now also sets DASH namespace
  • mpd.Write now has two parameters to set indentation and an optional XML header
  • renamed constants StaticMpdType and DynamicMpdType to STATIC_TYPE and DYNAMIC_TYPE

Added

Lots of convenience functions to create MPDs

  • mpd.WriteToString function to return a string
  • constants for many common values like audio-channel-configuration
  • rep.SetSegmentBase method
  • NewBaseURL function for simple BaseURL cases
  • NewDescriptor function for creating a DescriptorType instance
  • NewRole function for creating a new DescriptorType for a role
  • listOfTypes.AddProfile method to add a profile
  • NewAdaptationSetWithParams function for generating AdaptationSet
  • NewRepresentationWithID function for generating a representation with a few parameters
  • NewAudioRepresentation function for audio representations
  • NewVideoRepresentation function for video representation
  • Seconds2DurPtrFloat64 to generate a pointer to duration specified as seconds using float64