stream

package
v0.0.0-...-2704f02 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: Unlicense Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stream

type Stream struct {
	Itag       float64
	Url        string
	Mime_type  string
	Codecs     string
	Bitrate    float64
	Quality    string
	Type       string
	Extension  string
	Fps        float64
	Resolution string
	Sig        string

	Title string
	// contains filtered or unexported fields
}

func CreateStream

func CreateStream(stream map[string]interface{}, title string) *Stream

func (*Stream) Download

func (s *Stream) Download(filename string, filePath string, numChunks int) (string, error)

func (*Stream) FileSize

func (s *Stream) FileSize() (int, error)

Jump to

Keyboard shortcuts

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