m3u8

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(client *geektime.Client, m3u8url string) (tsFileNames []string, keyURI string, err error)

Parse do m3u8 url GET request, and extract ts file names and decrypt key from that

Types

type TSParser

type TSParser struct {
	// contains filtered or unexported fields
}

TSParser ...

func NewTSParser

func NewTSParser(data []byte, key string) *TSParser

NewTSParser ...

func (*TSParser) Decrypt

func (p *TSParser) Decrypt() []byte

Decrypt ...

Jump to

Keyboard shortcuts

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