apple

package
v1.54.7 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2022 License: OSL-3.0 Imports: 9 Imported by: 0

README

Apple TV+

Workaround:

packager-win-x64 --enable_raw_key_decryption `
--keys key_id=00000000000000000000000000000000:key=22bdb0063805260307ee5045c0f3835a `
stream=video,in=enc.mp4,output=dec.mp4

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Asset added in v1.54.2

type Asset struct {
	FpsKeyServerQueryParameters Server_Parameters
	FpsKeyServerUrl             string
	HlsUrl                      string
}

type Auth added in v1.54.2

type Auth struct {
	*http.Response
}

FIXME add Open and Create. Also change underlying type?

func (*Auth) Request added in v1.54.2

func (a *Auth) Request(client widevine.Client) (*Request, error)

type Config added in v1.54.2

type Config struct {
	WebBag struct {
		AppIdKey string
	}
}

func New_Config added in v1.54.6

func New_Config() (*Config, error)

func (Config) Signin added in v1.54.2

func (c Config) Signin(email, password string) (*Signin, error)

type Environment added in v1.54.2

type Environment struct {
	Media_API struct {
		Token string // authorization: Bearer eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXV...
	}
}

func New_Environment added in v1.54.5

func New_Environment() (*Environment, error)

type Episode added in v1.54.2

type Episode struct {
	Data struct {
		Playables map[string]struct {
			Assets Asset
		}
	}
}

func New_Episode added in v1.54.6

func New_Episode(content_ID string) (*Episode, error)

func (Episode) Asset added in v1.54.2

func (e Episode) Asset() *Asset

type License added in v1.54.2

type License struct {
	*widevine.Module
	// contains filtered or unexported fields
}

func (License) Content added in v1.54.2

func (l License) Content() (*widevine.Content, error)

type Request added in v1.54.2

type Request struct {
	*widevine.Module
	// contains filtered or unexported fields
}

func (Request) License added in v1.54.2

func (r Request) License(env *Environment, ep *Episode) (*License, error)

type Server_Parameters added in v1.54.5

type Server_Parameters struct {
	Adam_ID string `json:"adamId"`
	Svc_ID  string `json:"svcId"`
}

type Signin added in v1.54.2

type Signin struct {
	*http.Response
}

func (Signin) Auth added in v1.54.2

func (s Signin) Auth() (*Auth, error)

Jump to

Keyboard shortcuts

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