Documentation
¶
Index ¶
- func AdjustURLPath(refURL url.URL, adjustURL []BaseURLType, relativePath string) (*url.URL, error)
- func GetBoolFromConditionalUintType(v ConditionalUintType) bool
- func GetFrameRate(frameRate string) (float64, error)
- func IsPresentDuration(durationStr string) bool
- func IsPresentTime(val time.Time) bool
- func ParseDuration(durationStr string) (time.Duration, error)
- type AdaptationSetType
- type BaseURLType
- type ConditionalUintType
- type ContentComponentType
- type DescriptorType
- type EventStreamType
- type EventType
- type FrameRateType
- type MPDtype
- type MetricsType
- type MultipleSegmentBaseType
- type PeriodType
- type PresentationType
- type ProgramInformationType
- type RangeType
- type RatioType
- type RepresentationBaseType
- type RepresentationType
- type S
- type SegmentBaseType
- type SegmentListType
- type SegmentTemplateType
- type SegmentTimelineType
- type SegmentURLType
- type StringNoWhitespaceType
- type StringVectorType
- type SubRepresentationType
- type SubsetType
- type UIntVectorType
- type URLType
- type VideoScanType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdjustURLPath ¶
AdjustURLPath - Adjusts the URL Path to include the pathURL
func GetBoolFromConditionalUintType ¶
func GetBoolFromConditionalUintType(v ConditionalUintType) bool
GetBoolFromConditionalUintType - returns true/false
func GetFrameRate ¶
GetFrameRate - Evaluate Framerate to float
func IsPresentDuration ¶
IsPresentDuration - Checks if Time field is Valid (Non-ZERO)
func IsPresentTime ¶
IsPresentTime - Checks if Time field is Valid (Non-ZERO)
Types ¶
type AdaptationSetType ¶
type AdaptationSetType struct {
Items []string `xml:",any"`
FramePacking []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 FramePacking,omitempty"`
AudioChannelConfiguration []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 AudioChannelConfiguration,omitempty"`
ContentProtection []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 ContentProtection,omitempty"`
EssentialProperty []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 EssentialProperty,omitempty"`
SupplementalProperty []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 SupplementalProperty,omitempty"`
InbandEventStream []EventStreamType `xml:"urn:mpeg:dash:schema:mpd:2011 InbandEventStream,omitempty"`
Accessibility []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 Accessibility,omitempty"`
Role []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 Role,omitempty"`
Rating []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 Rating,omitempty"`
Viewpoint []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 Viewpoint,omitempty"`
ContentComponent []ContentComponentType `xml:"urn:mpeg:dash:schema:mpd:2011 ContentComponent,omitempty"`
BaseURL []BaseURLType `xml:"urn:mpeg:dash:schema:mpd:2011 BaseURL,omitempty"`
SegmentBase SegmentBaseType `xml:"urn:mpeg:dash:schema:mpd:2011 SegmentBase,omitempty"`
SegmentList SegmentListType `xml:"urn:mpeg:dash:schema:mpd:2011 SegmentList,omitempty"`
SegmentTemplate SegmentTemplateType `xml:"urn:mpeg:dash:schema:mpd:2011 SegmentTemplate,omitempty"`
Representation []RepresentationType `xml:"urn:mpeg:dash:schema:mpd:2011 Representation,omitempty"`
Href string `xml:"href,attr,omitempty"`
Actuate string `xml:"actuate,attr,omitempty"`
Id uint `xml:"id,attr,omitempty"`
Group uint `xml:"group,attr,omitempty"`
Lang string `xml:"lang,attr,omitempty"`
ContentType string `xml:"contentType,attr,omitempty"`
Par RatioType `xml:"par,attr,omitempty"`
MinBandwidth uint `xml:"minBandwidth,attr,omitempty"`
MaxBandwidth uint `xml:"maxBandwidth,attr,omitempty"`
MinWidth uint `xml:"minWidth,attr,omitempty"`
MaxWidth uint `xml:"maxWidth,attr,omitempty"`
MinHeight uint `xml:"minHeight,attr,omitempty"`
MaxHeight uint `xml:"maxHeight,attr,omitempty"`
MinFrameRate FrameRateType `xml:"minFrameRate,attr,omitempty"`
MaxFrameRate FrameRateType `xml:"maxFrameRate,attr,omitempty"`
SegmentAlignment ConditionalUintType `xml:"segmentAlignment,attr,omitempty"`
SubsegmentAlignment ConditionalUintType `xml:"subsegmentAlignment,attr,omitempty"`
SubsegmentStartsWithSAP uint `xml:"subsegmentStartsWithSAP,attr,omitempty"`
BitstreamSwitching bool `xml:"bitstreamSwitching,attr,omitempty"`
Profiles string `xml:"profiles,attr,omitempty"`
Width uint `xml:"width,attr,omitempty"`
Height uint `xml:"height,attr,omitempty"`
Sar RatioType `xml:"sar,attr,omitempty"`
FrameRate FrameRateType `xml:"frameRate,attr,omitempty"`
AudioSamplingRate string `xml:"audioSamplingRate,attr,omitempty"`
MimeType string `xml:"mimeType,attr,omitempty"`
SegmentProfiles string `xml:"segmentProfiles,attr,omitempty"`
Codecs string `xml:"codecs,attr,omitempty"`
MaximumSAPPeriod float64 `xml:"maximumSAPPeriod,attr,omitempty"`
StartWithSAP uint `xml:"startWithSAP,attr,omitempty"`
MaxPlayoutRate float64 `xml:"maxPlayoutRate,attr,omitempty"`
CodingDependency bool `xml:"codingDependency,attr,omitempty"`
ScanType VideoScanType `xml:"scanType,attr,omitempty"`
}
func (*AdaptationSetType) UnmarshalXML ¶
func (t *AdaptationSetType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
type BaseURLType ¶
type BaseURLType struct {
Value string `xml:",chardata"`
ServiceLocation string `xml:"serviceLocation,attr,omitempty"`
ByteRange string `xml:"byteRange,attr,omitempty"`
AvailabilityTimeOffset float64 `xml:"availabilityTimeOffset,attr,omitempty"`
AvailabilityTimeComplete bool `xml:"availabilityTimeComplete,attr,omitempty"`
}
type ConditionalUintType ¶
type ConditionalUintType string
type ContentComponentType ¶
type ContentComponentType struct {
Items []string `xml:",any"`
Accessibility []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 Accessibility,omitempty"`
Role []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 Role,omitempty"`
Rating []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 Rating,omitempty"`
Viewpoint []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 Viewpoint,omitempty"`
Id uint `xml:"id,attr,omitempty"`
Lang string `xml:"lang,attr,omitempty"`
ContentType string `xml:"contentType,attr,omitempty"`
Par RatioType `xml:"par,attr,omitempty"`
}
type DescriptorType ¶
type EventStreamType ¶
type EventStreamType struct {
Items []string `xml:",any"`
Event []EventType `xml:"urn:mpeg:dash:schema:mpd:2011 Event,omitempty"`
Href string `xml:"href,attr,omitempty"`
Actuate string `xml:"actuate,attr,omitempty"`
SchemeIdUri string `xml:"schemeIdUri,attr"`
Value string `xml:"value,attr,omitempty"`
Timescale uint `xml:"timescale,attr,omitempty"`
}
func (*EventStreamType) UnmarshalXML ¶
func (t *EventStreamType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
type EventType ¶
type EventType struct {
Items []string `xml:",any"`
PresentationTime uint64 `xml:"presentationTime,attr,omitempty"`
Duration uint64 `xml:"duration,attr,omitempty"`
Id uint `xml:"id,attr,omitempty"`
MessageData string `xml:"messageData,attr,omitempty"`
}
func (*EventType) UnmarshalXML ¶
type MPDtype ¶
type MPDtype struct {
Items []string `xml:",any"`
ProgramInformation []ProgramInformationType `xml:"urn:mpeg:dash:schema:mpd:2011 ProgramInformation,omitempty"`
BaseURL []BaseURLType `xml:"urn:mpeg:dash:schema:mpd:2011 BaseURL,omitempty"`
Location []string `xml:"urn:mpeg:dash:schema:mpd:2011 Location,omitempty"`
Period []PeriodType `xml:"urn:mpeg:dash:schema:mpd:2011 Period"`
Metrics []MetricsType `xml:"urn:mpeg:dash:schema:mpd:2011 Metrics,omitempty"`
EssentialProperty []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 EssentialProperty,omitempty"`
SupplementalProperty []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 SupplementalProperty,omitempty"`
UTCTiming []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 UTCTiming,omitempty"`
Id string `xml:"id,attr,omitempty"`
Profiles string `xml:"profiles,attr"`
Type PresentationType `xml:"type,attr,omitempty"`
AvailabilityStartTime time.Time `xml:"availabilityStartTime,attr,omitempty"`
AvailabilityEndTime time.Time `xml:"availabilityEndTime,attr,omitempty"`
PublishTime time.Time `xml:"publishTime,attr,omitempty"`
MediaPresentationDuration string `xml:"mediaPresentationDuration,attr,omitempty"`
MinimumUpdatePeriod string `xml:"minimumUpdatePeriod,attr,omitempty"`
MinBufferTime string `xml:"minBufferTime,attr"`
TimeShiftBufferDepth string `xml:"timeShiftBufferDepth,attr,omitempty"`
SuggestedPresentationDelay string `xml:"suggestedPresentationDelay,attr,omitempty"`
MaxSegmentDuration string `xml:"maxSegmentDuration,attr,omitempty"`
MaxSubsegmentDuration string `xml:"maxSubsegmentDuration,attr,omitempty"`
}
func ReadMPDFromFile ¶
ReadMPDFromFile - Reads from a File strored into an MPD object returned.
func ReadMPDFromStream ¶
ReadMPDFromStream - Reads from an io.Reader interface into an MPD object returned. r - Must implement the io.Reader interface.
func (*MPDtype) MarshalXML ¶
func (*MPDtype) UnmarshalXML ¶
type MetricsType ¶
type MetricsType struct {
Items []string `xml:",any"`
Reporting []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 Reporting"`
Range []RangeType `xml:"urn:mpeg:dash:schema:mpd:2011 Range,omitempty"`
Metrics string `xml:"metrics,attr"`
}
type MultipleSegmentBaseType ¶
type MultipleSegmentBaseType struct {
Items []string `xml:",any"`
Initialization URLType `xml:"urn:mpeg:dash:schema:mpd:2011 Initialization,omitempty"`
RepresentationIndex URLType `xml:"urn:mpeg:dash:schema:mpd:2011 RepresentationIndex,omitempty"`
SegmentTimeline SegmentTimelineType `xml:"urn:mpeg:dash:schema:mpd:2011 SegmentTimeline,omitempty"`
BitstreamSwitching URLType `xml:"urn:mpeg:dash:schema:mpd:2011 BitstreamSwitching,omitempty"`
Duration uint `xml:"duration,attr,omitempty"`
StartNumber uint `xml:"startNumber,attr,omitempty"`
Timescale uint `xml:"timescale,attr,omitempty"`
PresentationTimeOffset uint64 `xml:"presentationTimeOffset,attr,omitempty"`
IndexRange string `xml:"indexRange,attr,omitempty"`
IndexRangeExact bool `xml:"indexRangeExact,attr,omitempty"`
AvailabilityTimeOffset float64 `xml:"availabilityTimeOffset,attr,omitempty"`
AvailabilityTimeComplete bool `xml:"availabilityTimeComplete,attr,omitempty"`
}
func (*MultipleSegmentBaseType) UnmarshalXML ¶
func (t *MultipleSegmentBaseType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
type PeriodType ¶
type PeriodType struct {
Items []string `xml:",any"`
BaseURL []BaseURLType `xml:"urn:mpeg:dash:schema:mpd:2011 BaseURL,omitempty"`
SegmentBase SegmentBaseType `xml:"urn:mpeg:dash:schema:mpd:2011 SegmentBase,omitempty"`
SegmentList SegmentListType `xml:"urn:mpeg:dash:schema:mpd:2011 SegmentList,omitempty"`
SegmentTemplate SegmentTemplateType `xml:"urn:mpeg:dash:schema:mpd:2011 SegmentTemplate,omitempty"`
AssetIdentifier DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 AssetIdentifier,omitempty"`
EventStream []EventStreamType `xml:"urn:mpeg:dash:schema:mpd:2011 EventStream,omitempty"`
AdaptationSet []AdaptationSetType `xml:"urn:mpeg:dash:schema:mpd:2011 AdaptationSet,omitempty"`
Subset []SubsetType `xml:"urn:mpeg:dash:schema:mpd:2011 Subset,omitempty"`
SupplementalProperty []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 SupplementalProperty,omitempty"`
Href string `xml:"href,attr,omitempty"`
Actuate string `xml:"actuate,attr,omitempty"`
Id string `xml:"id,attr,omitempty"`
Start string `xml:"start,attr,omitempty"`
Duration string `xml:"duration,attr,omitempty"`
BitstreamSwitching bool `xml:"bitstreamSwitching,attr,omitempty"`
}
func (*PeriodType) UnmarshalXML ¶
func (t *PeriodType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
type ProgramInformationType ¶
type ProgramInformationType struct {
Items []string `xml:",any"`
Title string `xml:"urn:mpeg:dash:schema:mpd:2011 Title,omitempty"`
Source string `xml:"urn:mpeg:dash:schema:mpd:2011 Source,omitempty"`
Copyright string `xml:"urn:mpeg:dash:schema:mpd:2011 Copyright,omitempty"`
Lang string `xml:"lang,attr,omitempty"`
MoreInformationURL string `xml:"moreInformationURL,attr,omitempty"`
}
type RepresentationBaseType ¶
type RepresentationBaseType struct {
Items []string `xml:",any"`
FramePacking []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 FramePacking,omitempty"`
AudioChannelConfiguration []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 AudioChannelConfiguration,omitempty"`
ContentProtection []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 ContentProtection,omitempty"`
EssentialProperty []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 EssentialProperty,omitempty"`
SupplementalProperty []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 SupplementalProperty,omitempty"`
InbandEventStream []EventStreamType `xml:"urn:mpeg:dash:schema:mpd:2011 InbandEventStream,omitempty"`
Profiles string `xml:"profiles,attr,omitempty"`
Width uint `xml:"width,attr,omitempty"`
Height uint `xml:"height,attr,omitempty"`
Sar RatioType `xml:"sar,attr,omitempty"`
FrameRate FrameRateType `xml:"frameRate,attr,omitempty"`
AudioSamplingRate string `xml:"audioSamplingRate,attr,omitempty"`
MimeType string `xml:"mimeType,attr,omitempty"`
SegmentProfiles string `xml:"segmentProfiles,attr,omitempty"`
Codecs string `xml:"codecs,attr,omitempty"`
MaximumSAPPeriod float64 `xml:"maximumSAPPeriod,attr,omitempty"`
StartWithSAP uint `xml:"startWithSAP,attr,omitempty"`
MaxPlayoutRate float64 `xml:"maxPlayoutRate,attr,omitempty"`
CodingDependency bool `xml:"codingDependency,attr,omitempty"`
ScanType VideoScanType `xml:"scanType,attr,omitempty"`
}
type RepresentationType ¶
type RepresentationType struct {
Items []string `xml:",any"`
FramePacking []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 FramePacking,omitempty"`
AudioChannelConfiguration []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 AudioChannelConfiguration,omitempty"`
ContentProtection []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 ContentProtection,omitempty"`
EssentialProperty []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 EssentialProperty,omitempty"`
SupplementalProperty []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 SupplementalProperty,omitempty"`
InbandEventStream []EventStreamType `xml:"urn:mpeg:dash:schema:mpd:2011 InbandEventStream,omitempty"`
BaseURL []BaseURLType `xml:"urn:mpeg:dash:schema:mpd:2011 BaseURL,omitempty"`
SubRepresentation []SubRepresentationType `xml:"urn:mpeg:dash:schema:mpd:2011 SubRepresentation,omitempty"`
SegmentBase SegmentBaseType `xml:"urn:mpeg:dash:schema:mpd:2011 SegmentBase,omitempty"`
SegmentList SegmentListType `xml:"urn:mpeg:dash:schema:mpd:2011 SegmentList,omitempty"`
SegmentTemplate SegmentTemplateType `xml:"urn:mpeg:dash:schema:mpd:2011 SegmentTemplate,omitempty"`
Id StringNoWhitespaceType `xml:"id,attr"`
Bandwidth uint `xml:"bandwidth,attr"`
QualityRanking uint `xml:"qualityRanking,attr,omitempty"`
DependencyId StringVectorType `xml:"dependencyId,attr,omitempty"`
MediaStreamStructureId StringVectorType `xml:"mediaStreamStructureId,attr,omitempty"`
Profiles string `xml:"profiles,attr,omitempty"`
Width uint `xml:"width,attr,omitempty"`
Height uint `xml:"height,attr,omitempty"`
Sar RatioType `xml:"sar,attr,omitempty"`
FrameRate FrameRateType `xml:"frameRate,attr,omitempty"`
AudioSamplingRate string `xml:"audioSamplingRate,attr,omitempty"`
MimeType string `xml:"mimeType,attr,omitempty"`
SegmentProfiles string `xml:"segmentProfiles,attr,omitempty"`
Codecs string `xml:"codecs,attr,omitempty"`
MaximumSAPPeriod float64 `xml:"maximumSAPPeriod,attr,omitempty"`
StartWithSAP uint `xml:"startWithSAP,attr,omitempty"`
MaxPlayoutRate float64 `xml:"maxPlayoutRate,attr,omitempty"`
CodingDependency bool `xml:"codingDependency,attr,omitempty"`
ScanType VideoScanType `xml:"scanType,attr,omitempty"`
}
type S ¶
type S struct {
T uint64 `xml:"t,attr,omitempty"`
N uint64 `xml:"n,attr,omitempty"`
D uint64 `xml:"d,attr"`
R int `xml:"r,attr,omitempty"`
}
func (*S) UnmarshalXML ¶
type SegmentBaseType ¶
type SegmentBaseType struct {
Items []string `xml:",any"`
Initialization URLType `xml:"urn:mpeg:dash:schema:mpd:2011 Initialization,omitempty"`
RepresentationIndex URLType `xml:"urn:mpeg:dash:schema:mpd:2011 RepresentationIndex,omitempty"`
Timescale uint `xml:"timescale,attr,omitempty"`
PresentationTimeOffset uint64 `xml:"presentationTimeOffset,attr,omitempty"`
IndexRange string `xml:"indexRange,attr,omitempty"`
IndexRangeExact bool `xml:"indexRangeExact,attr,omitempty"`
AvailabilityTimeOffset float64 `xml:"availabilityTimeOffset,attr,omitempty"`
AvailabilityTimeComplete bool `xml:"availabilityTimeComplete,attr,omitempty"`
}
func (*SegmentBaseType) UnmarshalXML ¶
func (t *SegmentBaseType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
type SegmentListType ¶
type SegmentListType struct {
Items []string `xml:",any"`
Initialization URLType `xml:"urn:mpeg:dash:schema:mpd:2011 Initialization,omitempty"`
RepresentationIndex URLType `xml:"urn:mpeg:dash:schema:mpd:2011 RepresentationIndex,omitempty"`
SegmentTimeline SegmentTimelineType `xml:"urn:mpeg:dash:schema:mpd:2011 SegmentTimeline,omitempty"`
BitstreamSwitching URLType `xml:"urn:mpeg:dash:schema:mpd:2011 BitstreamSwitching,omitempty"`
SegmentURL []SegmentURLType `xml:"urn:mpeg:dash:schema:mpd:2011 SegmentURL,omitempty"`
Href string `xml:"href,attr,omitempty"`
Actuate string `xml:"actuate,attr,omitempty"`
Duration uint `xml:"duration,attr,omitempty"`
StartNumber uint `xml:"startNumber,attr,omitempty"`
Timescale uint `xml:"timescale,attr,omitempty"`
PresentationTimeOffset uint64 `xml:"presentationTimeOffset,attr,omitempty"`
IndexRange string `xml:"indexRange,attr,omitempty"`
IndexRangeExact bool `xml:"indexRangeExact,attr,omitempty"`
AvailabilityTimeOffset float64 `xml:"availabilityTimeOffset,attr,omitempty"`
AvailabilityTimeComplete bool `xml:"availabilityTimeComplete,attr,omitempty"`
}
func (*SegmentListType) UnmarshalXML ¶
func (t *SegmentListType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
type SegmentTemplateType ¶
type SegmentTemplateType struct {
Items []string `xml:",any"`
Initialization URLType `xml:"urn:mpeg:dash:schema:mpd:2011 Initialization,omitempty"`
RepresentationIndex URLType `xml:"urn:mpeg:dash:schema:mpd:2011 RepresentationIndex,omitempty"`
SegmentTimeline SegmentTimelineType `xml:"urn:mpeg:dash:schema:mpd:2011 SegmentTimeline,omitempty"`
BitstreamSwitching URLType `xml:"urn:mpeg:dash:schema:mpd:2011 BitstreamSwitching,omitempty"`
Media string `xml:"media,attr,omitempty"`
Index string `xml:"index,attr,omitempty"`
InitializationAttr string `xml:"initialization,attr,omitempty"`
BitstreamSwitchingAttr string `xml:"bitstreamSwitching,attr,omitempty"`
Duration uint `xml:"duration,attr,omitempty"`
StartNumber uint `xml:"startNumber,attr,omitempty"`
Timescale uint `xml:"timescale,attr,omitempty"`
PresentationTimeOffset uint64 `xml:"presentationTimeOffset,attr,omitempty"`
IndexRange string `xml:"indexRange,attr,omitempty"`
IndexRangeExact bool `xml:"indexRangeExact,attr,omitempty"`
AvailabilityTimeOffset float64 `xml:"availabilityTimeOffset,attr,omitempty"`
AvailabilityTimeComplete bool `xml:"availabilityTimeComplete,attr,omitempty"`
}
func (*SegmentTemplateType) UnmarshalXML ¶
func (t *SegmentTemplateType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
type SegmentTimelineType ¶
type SegmentURLType ¶
type StringNoWhitespaceType ¶
type StringNoWhitespaceType string
Must match the pattern [^\r\n\t \p{Z}]*
type StringVectorType ¶
type StringVectorType []string
func (*StringVectorType) MarshalText ¶
func (x *StringVectorType) MarshalText() ([]byte, error)
func (*StringVectorType) UnmarshalText ¶
func (x *StringVectorType) UnmarshalText(text []byte) error
type SubRepresentationType ¶
type SubRepresentationType struct {
Items []string `xml:",any"`
FramePacking []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 FramePacking,omitempty"`
AudioChannelConfiguration []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 AudioChannelConfiguration,omitempty"`
ContentProtection []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 ContentProtection,omitempty"`
EssentialProperty []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 EssentialProperty,omitempty"`
SupplementalProperty []DescriptorType `xml:"urn:mpeg:dash:schema:mpd:2011 SupplementalProperty,omitempty"`
InbandEventStream []EventStreamType `xml:"urn:mpeg:dash:schema:mpd:2011 InbandEventStream,omitempty"`
Level uint `xml:"level,attr,omitempty"`
DependencyLevel UIntVectorType `xml:"dependencyLevel,attr,omitempty"`
Bandwidth uint `xml:"bandwidth,attr,omitempty"`
ContentComponent StringVectorType `xml:"contentComponent,attr,omitempty"`
Profiles string `xml:"profiles,attr,omitempty"`
Width uint `xml:"width,attr,omitempty"`
Height uint `xml:"height,attr,omitempty"`
Sar RatioType `xml:"sar,attr,omitempty"`
FrameRate FrameRateType `xml:"frameRate,attr,omitempty"`
AudioSamplingRate string `xml:"audioSamplingRate,attr,omitempty"`
MimeType string `xml:"mimeType,attr,omitempty"`
SegmentProfiles string `xml:"segmentProfiles,attr,omitempty"`
Codecs string `xml:"codecs,attr,omitempty"`
MaximumSAPPeriod float64 `xml:"maximumSAPPeriod,attr,omitempty"`
StartWithSAP uint `xml:"startWithSAP,attr,omitempty"`
MaxPlayoutRate float64 `xml:"maxPlayoutRate,attr,omitempty"`
CodingDependency bool `xml:"codingDependency,attr,omitempty"`
ScanType VideoScanType `xml:"scanType,attr,omitempty"`
}
type SubsetType ¶
type SubsetType struct {
Contains UIntVectorType `xml:"contains,attr"`
Id string `xml:"id,attr,omitempty"`
}
type UIntVectorType ¶
type UIntVectorType []uint
func (*UIntVectorType) MarshalText ¶
func (x *UIntVectorType) MarshalText() ([]byte, error)
func (*UIntVectorType) UnmarshalText ¶
func (x *UIntVectorType) UnmarshalText(text []byte) error
Click to show internal directories.
Click to hide internal directories.