dummy

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Address      string
	ClientID     string
	ClientSecret string
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(config Config) *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)

GetHmacKey returns a sha256 string of the encoded channel ID

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