Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChaseLoader ¶
type ChaseLoader struct { DefaultLoader MasterPlaylist parse.MasterPlaylist StartedAt time.Time InitialWindowDurationMs float64 }
func NewChaseLoader ¶
func NewChaseLoader(original parse.MasterPlaylist) ChaseLoader
func (*ChaseLoader) LoadMediaPlaylist ¶
func (v *ChaseLoader) LoadMediaPlaylist(index int) ([]byte, error)
type DefaultLoader ¶
type DefaultLoader struct {
MasterPlaylist parse.MasterPlaylist
}
func NewDefaultLoader ¶
func NewDefaultLoader(original parse.MasterPlaylist) DefaultLoader
func (*DefaultLoader) LoadMasterPlaylist ¶
func (v *DefaultLoader) LoadMasterPlaylist() ([]byte, error)
func (*DefaultLoader) LoadSegment ¶
func (v *DefaultLoader) LoadSegment(mediaPlaylistIndex, segmentIndex int) ([]byte, error)
type LiveLoader ¶
type LiveLoader struct { DefaultLoader MasterPlaylist parse.MasterPlaylist StartedAt time.Time WindowDurationMs float64 }
func NewLiveLoader ¶
func NewLiveLoader(original parse.MasterPlaylist) LiveLoader
func (*LiveLoader) LoadMediaPlaylist ¶
func (v *LiveLoader) LoadMediaPlaylist(index int) ([]byte, error)
type VodLoader ¶
type VodLoader struct { DefaultLoader MasterPlaylist parse.MasterPlaylist }
func NewVodLoader ¶
func NewVodLoader(original parse.MasterPlaylist) VodLoader
Click to show internal directories.
Click to hide internal directories.