Skip to content

Releases: Eyevinn/dash-mpd

v0.11.1

17 Jan 11:04
0842f0b
Compare
Choose a tag to compare

Fixed

  • Update the DASH-IF ClearKey definitions to follow DASH-IF IOP v5.0

v0.11.0

04 Jan 16:05
226078d
Compare
Choose a tag to compare

Added

  • GetContentProtections, GetMimeType, GetCodecs, and GetSegmentTemplate methods for AdaptationSet and Representation
  • ContentProtection elements and name spaces for Marlin DRM and DASH-IF ClearKey

Fixed

  • ContentProtection and other parts of RepresentationBaseType moved before other elements in AdaptationSet and Representation

v0.10.0

26 May 14:52
f7748ed
Compare
Choose a tag to compare

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

v0.9.1

17 May 12:32
fa964b0
Compare
Choose a tag to compare

Identical content as v0.9.0, but updated number due to release mistake

v0.9.0

17 May 11:48
Compare
Choose a tag to compare
  • Parents of AdaptationSets, Representations, and SubRepresentations
  • Methods AppendAdaptationSet to Period, and so on
  • New Clone methods

v0.8.0

17 May 11:36
Compare
Choose a tag to compare

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

v0.7.0

24 Mar 07:24
Compare
Choose a tag to compare

Changed

  • ConvertToDateTime() crops fraction of second to milliseconds instead of full seconds

Fixed

  • Infinite value of availabilityTimeOffset is now marshalled/unmarshalled as "INF"

Added

  • ConvertToDateTimeMS is new function

v0.6.1

07 Mar 07:28
1d4de14
Compare
Choose a tag to compare

Changed

  • Updated dependencies

v0.6.0

03 Mar 13:21
9d1f7a9
Compare
Choose a tag to compare

API change

  • Changed composition of some MPD elements to not use pointers

Added

  • Functions to create new elements
  • Example code to generate new MPD from scratch
  • Added XMLNames to structure with unique names in MPD
  • Methods SetTimescale and GetTimescale for SegmentTemplate

v0.5.0 - first release

23 Jan 14:32
Compare
Choose a tag to compare

First release of the dash-mpd library

  • Full Marshal and Unmarshal of MPEG-DASH MPDs
  • Quite a few test MPDs that can be unmarshaled/marshaled with only whitespace/order changes
  • Some utility functions