m3u8

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 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, isVodEncryptVideo bool, err error)

Parse do m3u8 url GET request, and extract ts file names and check if it's encrypt video

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