Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Audio ¶ added in v1.5.6
func Audio(r Representer) bool
func Video ¶ added in v1.5.6
func Video(r Representer) bool
Types ¶
type Adapter ¶ added in v1.7.4
type Adapter struct { Content_Protection []Protecter `xml:"ContentProtection"` Lang string `xml:"lang,attr"` MIME_Type string `xml:"mimeType,attr"` Segment_Template *Template `xml:"SegmentTemplate"` Representation []Representer Role *struct { Value string `xml:"value,attr"` } }
amcplus.com
type Representer ¶ added in v1.7.4
type Representer struct { // roku.com Bandwidth int `xml:"bandwidth,attr"` // roku.com Codecs string `xml:"codecs,attr"` // roku.com Content_Protection []Protecter `xml:"ContentProtection"` // roku.com Height int `xml:"height,attr"` // roku.com ID string `xml:"id,attr"` // paramountplus.com MIME_Type *string `xml:"mimeType,attr"` // roku.com Segment_Template *Template `xml:"SegmentTemplate"` // roku.com Width int `xml:"width,attr"` // roku.com Adaptation_Set *Adapter }
func Representers ¶ added in v1.7.4
func Representers(r io.Reader) ([]Representer, error)
func (Representer) Ext ¶ added in v1.7.4
func (r Representer) Ext() string
func (Representer) String ¶ added in v1.7.4
func (r Representer) String() string
func (Representer) Widevine ¶ added in v1.7.4
func (r Representer) Widevine() ([]byte, error)
type Template ¶ added in v1.7.4
type Template struct { Initialization string `xml:"initialization,attr"` Media string `xml:"media,attr"` Representation *Representer Segment_Timeline struct { S []struct { D int `xml:"d,attr"` // duration R int `xml:"r,attr"` // repeat T int `xml:"t,attr"` // time } } `xml:"SegmentTimeline"` Start_Number int `xml:"startNumber,attr"` }
roku.com
func (Template) Get_Initialization ¶ added in v1.7.4
Click to show internal directories.
Click to hide internal directories.