Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adaptation ¶
type Adaptation struct {
MimeType string `xml:"mimeType,attr"`
Representation []Representation
Role struct {
Value string `xml:"value,attr"`
}
SegmentTemplate Segment
}
func Adaptations ¶
func Adaptations(body io.Reader) ([]Adaptation, error)
type Representation ¶
type Representation struct {
ID string `xml:"id,attr"`
Width int64 `xml:"width,attr"`
Height int64 `xml:"height,attr"`
Bandwidth int64 `xml:"bandwidth,attr"`
}
func (Representation) String ¶
func (r Representation) String() string
Click to show internal directories.
Click to hide internal directories.