internal

package
v0.7.33 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseLive

type BaseLive struct {
	Url           *url.URL
	LastStartTime time.Time
	LiveId        live.ID
	Options       *live.Options
}

func NewBaseLive

func NewBaseLive(url *url.URL, opt ...live.Option) BaseLive

func (*BaseLive) GetLastStartTime

func (a *BaseLive) GetLastStartTime() time.Time

func (*BaseLive) GetLiveId

func (a *BaseLive) GetLiveId() live.ID

func (*BaseLive) GetRawUrl

func (a *BaseLive) GetRawUrl() string

func (*BaseLive) GetStreamInfos added in v0.7.33

func (a *BaseLive) GetStreamInfos() ([]*live.StreamUrlInfo, error)

TODO: remove this method

func (*BaseLive) GetStreamUrls added in v0.7.33

func (a *BaseLive) GetStreamUrls() ([]*url.URL, error)

TODO: remove this method

func (*BaseLive) SetLastStartTime

func (a *BaseLive) SetLastStartTime(time time.Time)

func (*BaseLive) SetLiveIdByString added in v0.7.0

func (a *BaseLive) SetLiveIdByString(value string)

Jump to

Keyboard shortcuts

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