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 ¶ added in v1.42.9
type ContentProtection struct {
Default_KID string `xml:"default_KID,attr"`
}
type Media ¶ added in v1.37.5
type Media struct { Period struct { AdaptationSet []Adaptation } }
func (Media) Representations ¶ added in v1.42.9
func (m Media) Representations() Representations
type Representation ¶
type Representation struct { Adaptation *Adaptation Bandwidth int64 `xml:"bandwidth,attr"` Codecs *string `xml:"codecs,attr"` ContentProtection *ContentProtection Height *int64 `xml:"height,attr"` ID string `xml:"id,attr"` MimeType *string `xml:"mimeType,attr"` SegmentTemplate *SegmentTemplate Width *int64 `xml:"width,attr"` }
func (Representation) Ext ¶ added in v1.42.9
func (r Representation) Ext() string
func (Representation) Initialization ¶ added in v1.42.9
func (r Representation) Initialization() string
func (Representation) Media ¶ added in v1.42.9
func (r Representation) Media() []string
func (Representation) String ¶
func (r Representation) String() string
type Representations ¶ added in v1.42.9
type Representations []Representation
func (Representations) Codecs ¶ added in v1.42.9
func (r Representations) Codecs(v string) Representations
func (Representations) Get_Bandwidth ¶ added in v1.42.9
func (r Representations) Get_Bandwidth(v int64) *Representation
func (Representations) Get_Codecs ¶ added in v1.42.9
func (r Representations) Get_Codecs(v string) *Representation
type SegmentTemplate ¶ added in v1.42.9
Click to show internal directories.
Click to hide internal directories.