internal

package
v1.9.8 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: OSL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Forward = []ForwardedFor{
	{"Argentina", "186.128.0.0"},
	{"Australia", "1.128.0.0"},
	{"Bolivia", "179.58.0.0"},
	{"Brazil", "179.192.0.0"},
	{"Canada", "99.224.0.0"},
	{"Chile", "191.112.0.0"},
	{"Colombia", "181.128.0.0"},
	{"Costa Rica", "201.192.0.0"},
	{"Denmark", "2.104.0.0"},
	{"Ecuador", "186.68.0.0"},
	{"Egypt", "197.32.0.0"},
	{"Germany", "53.0.0.0"},
	{"Guatemala", "190.56.0.0"},
	{"India", "106.192.0.0"},
	{"Indonesia", "39.192.0.0"},
	{"Ireland", "87.32.0.0"},
	{"Italy", "79.0.0.0"},
	{"Latvia", "78.84.0.0"},
	{"Malaysia", "175.136.0.0"},
	{"Mexico", "189.128.0.0"},
	{"Netherlands", "145.160.0.0"},
	{"New Zealand", "49.224.0.0"},
	{"Norway", "88.88.0.0"},
	{"Peru", "190.232.0.0"},
	{"Russia", "95.24.0.0"},
	{"South Africa", "105.0.0.0"},
	{"South Korea", "175.192.0.0"},
	{"Spain", "88.0.0.0"},
	{"Sweden", "78.64.0.0"},
	{"Taiwan", "120.96.0.0"},
	{"United Kingdom", "25.0.0.0"},
	{"Venezuela", "190.72.0.0"},
}

Functions

func Mpd added in v1.9.8

func Mpd(req *http.Request) ([]dash.Representation, error)

Types

type ForwardedFor

type ForwardedFor struct {
	Country string
	IP      string
}

type Stream

type Stream struct {
	ClientId   string
	PrivateKey string
	Name       text.Namer
	Poster     widevine.Poster
	// contains filtered or unexported fields
}

wikipedia.org/wiki/Dynamic_Adaptive_Streaming_over_HTTP

func (*Stream) Create

func (s *Stream) Create(ext string) (*os.File, error)

func (*Stream) Download

func (s *Stream) Download(rep dash.Representation) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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