apple

package
v1.54.4 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2022 License: OSL-3.0 Imports: 12 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

View Source
var LogLevel format.LogLevel

Functions

This section is empty.

Types

type Asset added in v1.54.2

type Asset struct {
	FpsKeyServerQueryParameters ServerParameters
	FpsKeyServerUrl             string
	HlsUrl                      string
}

type Auth added in v1.54.2

type Auth struct {
	*http.Response
}

func OpenAuth added in v1.54.2

func OpenAuth(name string) (*Auth, error)

func (Auth) Create added in v1.54.2

func (a Auth) Create(name string) error

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 NewConfig added in v1.54.2

func NewConfig() (*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 NewEnvironment added in v1.54.2

func NewEnvironment() (*Environment, error)

type Episode added in v1.54.2

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

func NewEpisode added in v1.54.2

func NewEpisode(contentID 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 ServerParameters added in v1.54.2

type ServerParameters struct {
	AdamId string `json:"adamId"`
	SvcId  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