hongdoufm

package
v0.7.18 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Live

type Live struct {
	internal.BaseLive
	// contains filtered or unexported fields
}

Live 结构体表示一个克拉克拉直播实例

func (*Live) GetInfo

func (l *Live) GetInfo() (info *live.Info, err error)

GetInfo 方法获取克拉克拉直播房间的信息,包括主播名称、房间名称和直播状态

func (*Live) GetPlatformCNName

func (l *Live) GetPlatformCNName() string

GetPlatformCNName 方法获取克拉克拉直播平台的中文名称

func (*Live) GetStreamUrls

func (l *Live) GetStreamUrls() (us []*url.URL, err error)

GetStreamUrls 方法获取克拉克拉直播房间的流媒体 URL

Jump to

Keyboard shortcuts

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