Documentation ¶
Index ¶
- func Audio(a Adaptation, r Represent) bool
- func Decrypt(dst io.Writer, src io.Reader, key []byte) error
- func DecryptInit(dst io.Writer, src io.Reader) error
- func Video(a Adaptation, r Represent) bool
- type Adaptation
- type Period
- type PeriodFunc
- type Protection
- type Represent
- type Represents
- type Segment
- type Template
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Audio ¶ added in v1.33.0
func Audio(a Adaptation, r Represent) bool
func DecryptInit ¶ added in v1.37.2
Need for Mozilla Firefox and VLC media player
func Video ¶ added in v1.33.0
func Video(a Adaptation, r Represent) bool
Types ¶
type Adaptation ¶
type Period ¶ added in v1.31.4
type Period struct {
AdaptationSet []Adaptation
}
func (Period) Protection ¶ added in v1.34.8
func (p Period) Protection() *Protection
func (Period) Represents ¶ added in v1.35.2
func (p Period) Represents(fn PeriodFunc) Represents
type PeriodFunc ¶ added in v1.35.2
type PeriodFunc func(Adaptation, Represent) bool
type Protection ¶ added in v1.34.3
type Protection struct {
Default_KID string `xml:"default_KID,attr"`
}
type Represent ¶ added in v1.32.5
type Represent struct { ID string `xml:"id,attr"` // RepresentationID Width int64 `xml:"width,attr"` Height int64 `xml:"height,attr"` Bandwidth int64 `xml:"bandwidth,attr"` // handle duplicate height Codecs string `xml:"codecs,attr"` // handle missing height MimeType string `xml:"mimeType,attr"` ContentProtection *Protection SegmentTemplate *Template }
func (Represent) Initialization ¶ added in v1.33.4
type Represents ¶ added in v1.34.8
type Represents []Represent
func (Represents) Represent ¶ added in v1.34.8
func (r Represents) Represent(bandwidth int64) *Represent
Click to show internal directories.
Click to hide internal directories.