Documentation
¶
Index ¶
- Constants
- func InitConfig(cfg streamctl.Config)
- type Config
- type GetClientOption
- type OBS
- func (obs *OBS) ApplyProfile(ctx context.Context, profile StreamProfile, customArgs ...any) error
- func (obs *OBS) BanUser(ctx context.Context, userID streamcontrol.ChatUserID, reason string, ...) error
- func (obs *OBS) Close() error
- func (obs *OBS) EndStream(ctx context.Context) error
- func (obs *OBS) Flush(ctx context.Context) error
- func (obs *OBS) GetChatMessagesChan(ctx context.Context) (<-chan streamcontrol.ChatMessage, error)
- func (obs *OBS) GetClient(clientOpts ...GetClientOption) (*goobs.Client, error)
- func (obs *OBS) GetSceneList(ctx context.Context) (*scenes.GetSceneListResponse, error)
- func (obs *OBS) GetStreamStatus(ctx context.Context) (_ret *streamcontrol.StreamStatus, _err error)
- func (obs *OBS) InsertAdsCuePoint(ctx context.Context, ts time.Time, duration time.Duration) error
- func (obs *OBS) IsCapable(ctx context.Context, cap streamcontrol.Capability) bool
- func (obs *OBS) RemoveChatMessage(ctx context.Context, messageID streamcontrol.ChatMessageID) error
- func (obs *OBS) SendChatMessage(ctx context.Context, message string) error
- func (obs *OBS) SetCurrentProgramScene(ctx context.Context, req *scenes.SetCurrentProgramSceneParams) error
- func (obs *OBS) SetDescription(ctx context.Context, description string) error
- func (obs *OBS) SetTitle(ctx context.Context, title string) error
- func (obs *OBS) StartStream(ctx context.Context, title string, description string, profile StreamProfile, ...) error
- type PlatformSpecificConfig
- type StreamProfile
Constants ¶
View Source
const ID = types.ID
Variables ¶
This section is empty.
Functions ¶
func InitConfig ¶
Types ¶
type GetClientOption ¶
type OBS ¶
func (*OBS) ApplyProfile ¶
func (*OBS) BanUser ¶
func (obs *OBS) BanUser( ctx context.Context, userID streamcontrol.ChatUserID, reason string, deadline time.Time, ) error
func (*OBS) GetChatMessagesChan ¶
func (obs *OBS) GetChatMessagesChan( ctx context.Context, ) (<-chan streamcontrol.ChatMessage, error)
func (*OBS) GetClient ¶
func (obs *OBS) GetClient(clientOpts ...GetClientOption) (*goobs.Client, error)
func (*OBS) GetSceneList ¶
func (*OBS) GetStreamStatus ¶
func (obs *OBS) GetStreamStatus( ctx context.Context, ) (_ret *streamcontrol.StreamStatus, _err error)
func (*OBS) InsertAdsCuePoint ¶
func (*OBS) IsCapable ¶
func (obs *OBS) IsCapable( ctx context.Context, cap streamcontrol.Capability, ) bool
func (*OBS) RemoveChatMessage ¶
func (obs *OBS) RemoveChatMessage( ctx context.Context, messageID streamcontrol.ChatMessageID, ) error
func (*OBS) SendChatMessage ¶
func (*OBS) SetCurrentProgramScene ¶
func (*OBS) SetDescription ¶
func (*OBS) StartStream ¶
type PlatformSpecificConfig ¶
type PlatformSpecificConfig = types.PlatformSpecificConfig
type StreamProfile ¶
type StreamProfile = types.StreamProfile
Click to show internal directories.
Click to hide internal directories.