dash

package
v1.43.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2022 License: OSL-3.0 Imports: 2 Imported by: 0

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 (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

type SegmentTemplate struct {
	Initialization  string `xml:"initialization,attr"`
	Media           string `xml:"media,attr"`
	SegmentTimeline struct {
		S []struct {
			Duration int `xml:"d,attr"`
			Repeat   int `xml:"r,attr"`
			Time     int `xml:"t,attr"`
		}
	}
	StartNumber *int `xml:"startNumber,attr"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL