Documentation
¶
Index ¶
Constants ¶
View Source
const ( Audio = "audio/mp4" Video = "video/mp4" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Adaptation ¶
type AdaptationSet ¶
type AdaptationSet []Adaptation
func NewAdaptationSet ¶
func NewAdaptationSet(body io.Reader) (AdaptationSet, error)
func (AdaptationSet) MimeType ¶
func (a AdaptationSet) MimeType(typ string) AdaptationSet
func (AdaptationSet) Represent ¶
func (a AdaptationSet) Represent(bandwidth int64) *Represent
type Represent ¶
type Represent struct { ID string `xml:"id,attr"` Width int64 `xml:"width,attr"` Height int64 `xml:"height,attr"` Bandwidth int64 `xml:"bandwidth,attr"` Codecs string `xml:"codecs,attr"` SegmentTemplate *Template }
func (Represent) Initialization ¶
Click to show internal directories.
Click to hide internal directories.