Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adaptation ¶
type Adaptation struct { Codecs string `xml:"codecs,attr"` ContentProtection *ContentProtection Lang string `xml:"lang,attr"` MimeType string `xml:"mimeType,attr"` Representation Representations Role *struct { Value string `xml:"value,attr"` } SegmentTemplate *SegmentTemplate }
type ContentProtection ¶
type ContentProtection struct {
Default_KID string `xml:"default_KID,attr"`
}
type Media ¶
type Media struct { Period struct { AdaptationSet []Adaptation } }
func (Media) Representations ¶
func (m Media) Representations() Representations
type Representation ¶
type Representation struct { Adaptation *Adaptation Bandwidth int `xml:"bandwidth,attr"` ContentProtection *ContentProtection Height int `xml:"height,attr"` ID string `xml:"id,attr"` MimeType string `xml:"mimeType,attr"` Codecs string `xml:"codecs,attr"` SegmentTemplate *SegmentTemplate Width int `xml:"width,attr"` }
func (Representation) Ext ¶
func (r Representation) Ext() string
func (Representation) Initialization ¶
func (r Representation) Initialization() string
func (Representation) Media ¶
func (r Representation) Media() []string
func (Representation) Role ¶
func (r Representation) Role() string
func (Representation) String ¶
func (r Representation) String() string
type Representations ¶
type Representations []Representation
func (Representations) Audio ¶
func (r Representations) Audio() Representations
func (Representations) Bandwidth ¶
func (r Representations) Bandwidth(v int) *Representation
func (Representations) Video ¶
func (r Representations) Video() Representations
Click to show internal directories.
Click to hide internal directories.