stream

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: OSL-3.0 Imports: 14 Imported by: 0

README

stream

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clean

func Clean(path string) string

func Name

func Name(n Namer) (string, error)

Types

type Namer

type Namer interface {
	Date() (time.Time, error)
	Episode() (int64, error)
	Season() (int64, error)
	Series() (string, bool)
	Title() string
}

type Stream

type Stream struct {
	Base        *url.URL
	Client_ID   string
	Info        bool
	Namer       Namer
	Poster      widevine.Poster
	Private_Key string
}

func (Stream) DASH_Get

func (s Stream) DASH_Get(items []dash.Representation, index int) error

func (*Stream) HLS

func (s *Stream) HLS(ref string) (*hls.Master, error)

func (Stream) HLS_Media

func (s Stream) HLS_Media(items []hls.Media, index int) error

func (Stream) HLS_Streams

func (s Stream) HLS_Streams(items []hls.Stream, index int) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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