Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdaptationSet ¶ added in v1.31.4
type AdaptationSet struct {
ContentType string `xml:"contentType,attr"`
MimeType string `xml:"mimeType,attr"`
Representation []Representation
Role struct {
Value string `xml:"value,attr"`
}
SegmentTemplate Template
}
func (AdaptationSet) Len ¶ added in v1.31.5
func (a AdaptationSet) Len() int
func (AdaptationSet) Swap ¶ added in v1.31.5
func (a AdaptationSet) Swap(i, j int)
type Bandwidth ¶ added in v1.31.5
type Bandwidth struct {
*AdaptationSet
Target int64
}
type Period ¶ added in v1.31.4
type Period struct {
AdaptationSet []AdaptationSet
}
func (Period) Audio ¶ added in v1.31.4
func (p Period) Audio(video *AdaptationSet) *AdaptationSet
func (Period) Video ¶ added in v1.31.4
func (p Period) Video() *AdaptationSet
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.