Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AdaptationSet ¶
type AdaptationSet struct { SegmentAlignment string `xml:"segmentAlignment,attr"` Group string `xml:"group,attr"` MaxWidth string `xml:"maxWidth,attr,omitempty"` MaxHeight string `xml:"maxHeight,attr,omitempty"` MaxFrameRate string `xml:"maxFrameRate,attr,omitempty"` Par string `xml:"par,attr,omitempty"` Lang string `xml:"lang,attr,omitempty"` Representations []Representation `xml:"Representation"` }
type AudioConfig ¶
type Initialization ¶
type Initialization struct {
Range string `xml:"range,attr"`
}
type MPD ¶
type MPD struct { XMLName xml.Name `xml:"MPD"` MinBufferTime string `xml:"minBufferTime,attr"` Type string `xml:"type,attr"` MediaPresentationDuration string `xml:"mediaPresentationDuration,attr"` MaxSegmentDuration string `xml:"maxSegmentDuration,attr"` Profiles string `xml:"profiles,attr"` ProgramInformation ProgramInformation `xml:"ProgramInformation"` Periods []Period `xml:"Period"` }
type Period ¶
type Period struct { Duration string `xml:"duration,attr"` AdaptationSets []AdaptationSet `xml:"AdaptationSet"` }
type ProgramInformation ¶
type Representation ¶
type Representation struct { ID string `xml:"id,attr"` MimeType string `xml:"mimeType,attr"` Codecs string `xml:"codecs,attr"` Width string `xml:"width,attr,omitempty"` Height string `xml:"height,attr,omitempty"` FrameRate string `xml:"frameRate,attr,omitempty"` Sar string `xml:"sar,attr,omitempty"` StartWithSAP string `xml:"startWithSAP,attr,omitempty"` Bandwidth string `xml:"bandwidth,attr,omitempty"` BaseURL string `xml:"BaseURL"` SegmentList SegmentList `xml:"SegmentList"` AudioConfig *AudioConfig `xml:"AudioChannelConfiguration,omitempty"` }
type SegmentList ¶
type SegmentList struct { Timescale string `xml:"timescale,attr"` Duration string `xml:"duration,attr"` Initialization Initialization `xml:"Initialization"` SegmentURLs []SegmentURL `xml:"SegmentURL"` }
type SegmentURL ¶
Click to show internal directories.
Click to hide internal directories.