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 InitializingLiveBuilder ¶
var (
InitializingLiveBuilderInstance InitializingLiveBuilder
)
type Live ¶
type StreamUrlInfo ¶
type WrappedLive ¶
type WrappedLive struct {
Live
// contains filtered or unexported fields
}
func (*WrappedLive) GetInfo ¶
func (w *WrappedLive) GetInfo() (*Info, error)
Click to show internal directories.
Click to hide internal directories.