glimesh

package
v0.0.0-...-ad8d7c7 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Endpoint     string
	ClientID     string `mapstructure:"client_id"`
	ClientSecret string `mapstructure:"client_secret"`
	// contains filtered or unexported fields
}

func New

func New(endpoint, clientID, clientSecret string) *Service

func (*Service) Connect

func (s *Service) Connect() error

func (*Service) EndStream

func (s *Service) EndStream(streamID types.StreamID) error

func (*Service) GetHmacKey

func (s *Service) GetHmacKey(channelID types.ChannelID) ([]byte, error)

func (*Service) Name

func (s *Service) Name() string

func (*Service) SendJpegPreviewImage

func (s *Service) SendJpegPreviewImage(streamID types.StreamID, img []byte) error

func (*Service) SetLogger

func (s *Service) SetLogger(log logrus.FieldLogger)

func (*Service) StartStream

func (s *Service) StartStream(channelID types.ChannelID) (types.StreamID, error)

func (*Service) UpdateStreamMetadata

func (s *Service) UpdateStreamMetadata(streamID types.StreamID, metadata types.StreamMetadata) error

type StreamMetadataInput

type StreamMetadataInput types.StreamMetadata

Jump to

Keyboard shortcuts

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