stream

package module
v1.1.8 Latest Latest
Warning

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

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

README

stream

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Format_Episode added in v1.0.3

func Format_Episode(e Episode) (string, error)

func Format_Film added in v1.0.3

func Format_Film(f Film) (string, error)

func Format_Video added in v1.0.3

func Format_Video(v Video) string

Types

type Episode added in v1.0.2

type Episode interface {
	Series() string
	Season() (int64, error)
	Episode() (int64, error)
	Title() string
}

type Film added in v1.0.2

type Film interface {
	Title() string
	Date() (time.Time, error)
}

type Stream

type Stream struct {
	Base        *url.URL
	Client_ID   string
	Info        bool
	Name        string
	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

type Video added in v1.0.2

type Video interface {
	Author() string
	Title() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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