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