hlss

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DecryptCallback

type DecryptCallback func(string, int, int)

type Hlss

type Hlss struct {
	// contains filtered or unexported fields
}

func New

func New(mainUrl string, key []byte, outputfile string, downloadCallback downloader.Callback, decryptCallback DecryptCallback, downloadWorker int, cookieFile string, referer string, keyUrl string) (*Hlss, error)

func (*Hlss) ExtractVideo

func (h *Hlss) ExtractVideo() error

func (*Hlss) GetBandwidths

func (h *Hlss) GetBandwidths() []string

func (*Hlss) GetResolutions

func (h *Hlss) GetResolutions() []string

func (*Hlss) GetTotSegments

func (h *Hlss) GetTotSegments() int

func (*Hlss) SetResolution

func (h *Hlss) SetResolution(res_idx int) error

type Segment added in v1.1.6

type Segment struct {
	URL string
	Key []byte
	IV  []byte
}

Jump to

Keyboard shortcuts

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