Documentation ¶
Index ¶
- func InitConfig(cfg streamctl.Config, id string)
- type Config
- type FlagBroadcastTemplateIDs
- type PlatformSpecificConfig
- type StreamProfile
- type YouTube
- func (yt *YouTube) ApplyProfile(ctx context.Context, profile StreamProfile, customArgs ...any) error
- func (yt *YouTube) EndStream(ctx context.Context) error
- func (yt *YouTube) Flush(ctx context.Context) error
- func (yt *YouTube) InsertAdsCuePoint(ctx context.Context, ts time.Time, duration time.Duration) error
- func (yt *YouTube) ListBroadcasts(ctx context.Context) ([]*youtube.LiveBroadcast, error)
- func (yt *YouTube) ListStreams(ctx context.Context) ([]*youtube.LiveStream, error)
- func (yt *YouTube) SetDescription(ctx context.Context, description string) error
- func (yt *YouTube) SetTitle(ctx context.Context, title string) error
- func (yt *YouTube) StartStream(ctx context.Context, title string, description string, profile StreamProfile, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitConfig ¶
Types ¶
type Config ¶
type Config = streamctl.PlatformConfig[PlatformSpecificConfig, StreamProfile]
type FlagBroadcastTemplateIDs ¶
type FlagBroadcastTemplateIDs []string
type PlatformSpecificConfig ¶
type StreamProfile ¶
type StreamProfile struct {
Tags []string
}
type YouTube ¶
type YouTube struct {
YouTubeService *youtube.Service
}
func (*YouTube) ApplyProfile ¶
func (*YouTube) InsertAdsCuePoint ¶
func (*YouTube) ListBroadcasts ¶
func (*YouTube) ListStreams ¶
func (*YouTube) SetDescription ¶
func (*YouTube) StartStream ¶
Click to show internal directories.
Click to hide internal directories.