Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrRoomNotExist = errors.New("room not exists") ErrRoomUrlIncorrect = errors.New("room url incorrect") ErrInternalError = errors.New("internal error") )
View Source
var CommonUserAgent = requests.UserAgent(userAgent)
Functions ¶
Types ¶
type Info ¶
type Info struct { Live Live HostName, RoomName string Status bool // means isLiving, maybe better to rename it Listening, Recording bool Initializing bool CustomLiveId string AudioOnly bool }
func (*Info) MarshalJSON ¶
type InitializingFinishedParam ¶ added in v0.7.11
type InitializingLiveBuilder ¶ added in v0.7.11
var (
InitializingLiveBuilderInstance InitializingLiveBuilder
)
type Live ¶
type Option ¶ added in v0.6.4
type Option func(*Options)
func WithKVStringCookies ¶ added in v0.6.4
func WithQuality ¶ added in v0.7.9
type Options ¶ added in v0.6.4
func MustNewOptions ¶ added in v0.6.4
func NewOptions ¶ added in v0.6.4
type StreamUrlInfo ¶ added in v0.7.17
type WrappedLive ¶ added in v0.7.11
type WrappedLive struct { Live // contains filtered or unexported fields }
func (*WrappedLive) GetInfo ¶ added in v0.7.11
func (w *WrappedLive) GetInfo() (*Info, error)
Click to show internal directories.
Click to hide internal directories.