Releases: Eyevinn/dash-mpd
Releases · Eyevinn/dash-mpd
v0.11.1
v0.11.0
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
Changed
NewMPD
function now also sets DASH namespacempd.Write
now has two parameters to set indentation and an optional XML header- renamed constants StaticMpdType and DynamicMpdType to
STATIC_TYPE
andDYNAMIC_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
methodNewBaseURL
function for simple BaseURL casesNewDescriptor
function for creating a DescriptorType instanceNewRole
function for creating a new DescriptorType for a rolelistOfTypes.AddProfile
method to add a profileNewAdaptationSetWithParams
function for generating AdaptationSetNewRepresentationWithID
function for generating a representation with a few parametersNewAudioRepresentation
function for audio representationsNewVideoRepresentation
function for video representationSeconds2DurPtrFloat64
to generate a pointer to duration specified as seconds using float64
v0.9.1
v0.9.0
v0.8.0
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
v0.6.1
v0.6.0
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
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